mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-16 14:45:48 -07:00
Fixed Tunnel Collapse Issues Every 45s
This commit is contained in:
@@ -2957,7 +2957,8 @@ async def connect_error(data):
|
||||
@sio.event
|
||||
async def disconnect():
|
||||
print("[WebSocket] Disconnected from Borealis server.")
|
||||
await stop_all_roles()
|
||||
# Do not tear down roles/tunnels on control-plane drop; idle/grace timers inside roles handle cleanup.
|
||||
_log_agent('SocketIO disconnect observed; leaving roles/tunnels running to survive transient drops.', fname='agent.log')
|
||||
CONFIG.data['regions'].clear()
|
||||
CONFIG._write()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user