Skip to content
Snippets Groups Projects
Commit b7316b1a authored by Hang's avatar Hang
Browse files

fast push

parent edcb98ab
No related branches found
No related tags found
1 merge request!10MP3 Log Version Ready
...@@ -462,7 +462,7 @@ def connect_with_all_servers(servers: dict, current_server_id: str, return_value ...@@ -462,7 +462,7 @@ def connect_with_all_servers(servers: dict, current_server_id: str, return_value
f"Connecting to {server[SERVER_IDENTIFIER]}: {host_ip_address}:{server[SERVER_PORT]} success!") f"Connecting to {server[SERVER_IDENTIFIER]}: {host_ip_address}:{server[SERVER_PORT]} success!")
except Exception: except Exception:
rprint(f"[Connect] - Connection to " rprint(f"[Connect] - Connection to "
f"{server[SERVER_IDENTIFIER]}: {host_ip_address}:{server[SERVER_PORT]} failed. " f"{server[SERVER_IDENTIFIER]} failed. "
f"Reconnecting in {RECONNECT_TIME}s..") f"Reconnecting in {RECONNECT_TIME}s..")
remaining_nodes[server_id] = server remaining_nodes[server_id] = server
servers = remaining_nodes servers = remaining_nodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment