Skip to content

Commit

Permalink
Fix an issue of the controller attempting to extract the topology rep…
Browse files Browse the repository at this point in the history
…eatedly in some cases
  • Loading branch information
cscarpitta committed Jun 17, 2020
1 parent dcd0497 commit 462e6c8
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 462e6c8

Please sign in to comment.