mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Limit the graph builder to processing just the first few hundred jobs
when building the dependency graph
This commit is contained in:
parent
651dd1239a
commit
d2a4f2a190
@ -229,7 +229,7 @@ def rebuild_graph(message):
|
||||
graph = SimpleDAG()
|
||||
for task in running_tasks:
|
||||
graph.add_node(task)
|
||||
for wait_task in waiting_tasks:
|
||||
for wait_task in waiting_tasks[:500]:
|
||||
node_dependencies = []
|
||||
for node in graph:
|
||||
if wait_task.is_blocked_by(node['node_object']):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user