mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
short circuit performance optimization
This commit is contained in:
@@ -122,6 +122,9 @@ class WorkflowDAG(SimpleDAG):
|
|||||||
all_parents_dnr = True
|
all_parents_dnr = True
|
||||||
parent_run_path = False
|
parent_run_path = False
|
||||||
for p in parent_nodes:
|
for p in parent_nodes:
|
||||||
|
if p.do_not_run is True:
|
||||||
|
continue
|
||||||
|
|
||||||
if not p.job and p.do_not_run is False:
|
if not p.job and p.do_not_run is False:
|
||||||
all_parents_dnr = False
|
all_parents_dnr = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user