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)) logging.debug('Triggering retry: ' + str(ti))
executor.queue_task_instance(ti) executor.queue_task_instance(ti)
elif ti.state == State.QUEUED: elif ti.state == State.QUEUED:
# If task instance if up for retry, make sure # If was queued we skipped so that in gets prioritized
if ti.is_runnable(): # in self.prioritize_queued
logging.debug( continue
'Starting previously queued : ' + str(ti))
executor.queue_task_instance(ti)
else: else:
# Trying to run the next schedule # Trying to run the next schedule
next_schedule = ( next_schedule = (