mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-03 04:31:28 +02:00
The stale connection fix force-closed the socket on every frontend status poll, causing a tight close→reconnect→stale→close loop. Added a 30-second cooldown between stale reconnect attempts so paho has time to re-establish the connection. Also added reconnect backoff (1-30s) and unique-per-process MQTT client IDs to prevent broker session takeovers.