From a64cbdc591fec7e41f4a4a6cd7adf2557fbbe5f4 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Nov 27 2019 21:33:44 +0000 Subject: PR#1841: continue instead of exiting Merges #1841 https://pagure.io/koji/pull-request/1841 Fixes: #1840 https://pagure.io/koji/issue/1840 checkAvailDelay blocks builder from picking full capacity --- diff --git a/koji/daemon.py b/koji/daemon.py index 2608bc0..3d9919e 100644 --- a/koji/daemon.py +++ b/koji/daemon.py @@ -901,8 +901,8 @@ class TaskManager(object): #accept this task) bin_avail = avail.get(bin, [0]) if self.checkAvailDelay(task, bin_avail, our_avail): - # decline for now and give the upper half a chance - return False + # decline for now and give the upper half a chance + continue #otherwise, we attempt to open the task if self.takeTask(task): return True