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

fix bug: wrong assign

parent a502672c
No related branches found
No related tags found
No related merge requests found
......@@ -411,6 +411,7 @@ def proceed_self_stabilizing_VC():
is_ids_deployed = True
IdsOpportunistic.ids_queue.put((node.myid, time.time(), is_ids_deployed))
print("IDS Deployment request")
old_time_converge = node.converge_time
elif is_ids_deployed and node.state == State.DECIDED_NOT_VC and (time.time() - node.converge_time) > CONVERGE_TIME_THRESHOLD:
is_ids_deployed = False
IdsOpportunistic.ids_queue.put((node.myid, time.time(), is_ids_deployed))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment