mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Fix a bug processing dependent tasks. Fix an issue where we weren't
calculating the task impact of a job properly
This commit is contained in:
@@ -177,7 +177,7 @@ def rebuild_graph(message):
|
||||
time_delt = len(task_dependencies) - task_dependencies.index(dep)
|
||||
dep.created = task.created - datetime.timedelta(seconds=1+time_delt)
|
||||
dep.save()
|
||||
waiting_tasks.insert(dep, waiting_tasks.index(task))
|
||||
waiting_tasks.insert(waiting_tasks.index(task), dep)
|
||||
task.status = 'waiting'
|
||||
task.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user