diff --git a/awx/main/scheduler/__init__.py b/awx/main/scheduler/__init__.py index 24958c0e0d..e670fa6300 100644 --- a/awx/main/scheduler/__init__.py +++ b/awx/main/scheduler/__init__.py @@ -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']):