From 7b0cf8836734a3467174b02ffbeba7eaaff25ee6 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 25 May 2023 21:19:46 +0200 Subject: [PATCH] skip known tagrevs this should speed up the queue generation --- buildmanager.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildmanager.go b/buildmanager.go index 8360534..82575a0 100644 --- a/buildmanager.go +++ b/buildmanager.go @@ -607,6 +607,10 @@ func (b *BuildManager) genQueue() ([]*ProtoPackage, error) { } } + if pkg.DBPackage.TagRev != nil && *pkg.DBPackage.TagRev == state.TagRev { + continue + } + if !pkg.isEligible(context.Background()) { continue }