From 76152a3410d4344f19c946e3896518e71975f881 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 14 Aug 2022 14:12:23 +0200 Subject: [PATCH] preventing waiting packages to enter buildqueue --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index f212d70..ad4376e 100644 --- a/main.go +++ b/main.go @@ -498,6 +498,10 @@ func (b *BuildManager) syncWorker(ctx context.Context) error { } for _, pkg := range queue { + if pkg.DbPackage.SkipReason != "" { + continue + } + if pkg.Priority() > cutOff && cutOff >= conf.Build.SlowQueueThreshold { slowQueue = append(slowQueue, pkg) } else {