mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
meshcore 2.3.0's ConnectionManager has a bug: when auto-reconnect creates a new TCP connection, the old connection's connection_lost callback fires, triggering another reconnect cycle. Since each success resets the attempt counter, this loops forever (~1 TCP connection/second). Disabled library auto_reconnect and added reconnection logic to _on_disconnected() with 3 attempts and increasing backoff (5/10/15s). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>