This commit is contained in:
Maxime 2015-06-23 16:25:41 +00:00
Родитель 30ea72ca30
Коммит 07ed7e640e
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -283,11 +283,9 @@ class SchedulerJob(BaseJob):
logging.debug('Triggering retry: ' + str(ti))
executor.queue_task_instance(ti)
elif ti.state == State.QUEUED:
# If task instance if up for retry, make sure
if ti.is_runnable():
logging.debug(
'Starting previously queued : ' + str(ti))
executor.queue_task_instance(ti)
# If was queued we skipped so that in gets prioritized
# in self.prioritize_queued
continue
else:
# Trying to run the next schedule
next_schedule = (