From 0ef105fc8e087a59df50d9a9358813e0abd0f0d8 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Nov 27 2019 14:15:50 +0000 Subject: continue instead of exiting Fixes: https://pagure.io/koji/issue/1840 --- 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