Merge pull request #111 from coreos-inc/incompletefix

Requeue build jobs after the work check timeout + some additional padding.
This commit is contained in:
Jimmy Zelinskie 2015-06-09 20:44:40 -04:00
commit b7303665a2

View file

@ -188,7 +188,7 @@ class BuilderServer(object):
self._job_count)
else:
logger.debug('All workers are busy. Requeuing.')
self._queue.incomplete(job_item, restore_retry=True, retry_after=0)
self._queue.incomplete(job_item, restore_retry=True, retry_after=WORK_CHECK_TIMEOUT + 5)
@trollius.coroutine
def _queue_metrics_updater(self):