1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Revert "removed wait_task look restriction"

This reverts commit f159fd45406c6af2aacc48a44e2a3993bfa19ce8.
This commit is contained in:
Chris Meyers 2016-09-28 10:23:45 -04:00
parent d65120538d
commit 0d538f8b0f

View File

@ -165,7 +165,7 @@ def rebuild_graph():
graph = SimpleDAG()
for task in running_tasks:
graph.add_node(task)
for wait_task in waiting_tasks:
for wait_task in waiting_tasks[:50]:
node_dependencies = []
for node in graph:
if wait_task.is_blocked_by(node['node_object']):