Skip to content
Snippets Groups Projects
Commit a502672c authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

fix bug wrong value

parent a6c9d944
Branches
No related tags found
No related merge requests found
......@@ -404,7 +404,7 @@ def proceed_self_stabilizing_VC():
# Checking the state change to deploy or remove the IDS unikernel
# If I stay at VC set more than 5s -> I deploy IDS unikernel, otherwise, IDS unikernel must be destroyed
is_ids_deployed = False
old_time_converge = node.converge_time
old_time_converge = 0
while True:
if old_time_converge != node.converge_time:
if not is_ids_deployed and node.state == State.DECIDED_IN_VC and (time.time() - node.converge_time) > CONVERGE_TIME_THRESHOLD:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment