Skip to content

Commit

Permalink
Merge pull request #45 from netgroup/fix-endless-top-extraction-loop
Browse files Browse the repository at this point in the history
Fix an issue of the topology extraction algorithm entering a endless extraction loop when the controller is not able to reach the nodes
  • Loading branch information
cscarpitta authored Jun 19, 2020
2 parents f72cb63 + 462e6c8 commit 26b672a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions control_plane/controller/controller/arangodb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def extract_topo_from_isis_and_load_on_arango(isis_nodes, isisd_pwd,
edges_collection=edges_collection,
verbose=verbose
)
# Period = 0 means a single extraction
if period == 0:
break
# Period = 0 means a single extraction
if period == 0:
break
# Wait 'period' seconds between two extractions
time.sleep(period)

0 comments on commit 26b672a

Please sign in to comment.