Update peer.py
This commit is contained in:
1 parent
1312a154a6
commit
8059231862
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ INTRODUCER_FLAG = (INTRODUCER_IP == IP)
|
|||||||
#check if this VM is the introducer and add it self
|
#check if this VM is the introducer and add it self
|
||||||
members_list = {}
|
members_list = {}
|
||||||
if INTRODUCER_FLAG:
|
if INTRODUCER_FLAG:
|
||||||
members_list[(IP, PORT)] = {
|
members_list[(IP, SERVER_PORT)] = {
|
||||||
"heart_beat": 1,
|
"heart_beat": 1,
|
||||||
"last_seen": utc_time()
|
"last_seen": utc_time()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user