preventing waiting packages to enter buildqueue

This commit is contained in:
2022-08-14 14:12:23 +02:00
parent 5ed591981b
commit 76152a3410

View File

@@ -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 {