Closed eamonnfaherty closed 1 year ago
nx.find_cycle(g)
is executed during generate-task-rerference
. Running find_cycle takes a long time.
nx.is_directed_acyclic_graph is a quicker check that takes seconds to run. Will wrap find_cycle within nx.is_directed_acyclic_graph and only execute it when needed.
Describe the bug Running
servicecatalog-puppet --info generate-task-reference manifest-expanded.yaml
takes over 1 hour to complete.To Reproduce Steps to reproduce the behavior:
Expected behavior Should run in under 5 mins.
Attachments Please attach a copy of your manifest, expanded-manifest, logs and build artefacts where appropriate.