Files
meshcore-bot/modules/service_plugins
agessaman 4b871089b9 fix(weather): let the Blitzortung loop own reconnects and cleanup
paho's network thread reconnected on its own (reconnect_on_failure defaults to true), racing the new backoff and dropping the queued SUBSCRIBE, so a fast reconnect could leave a live session with no subscription. The client is now created with reconnect_on_failure=False and subscribes from on_connect once the broker accepts.

A cancel during the blocking connect() left the worker thread to open a socket nobody closed. The connect future is shielded and the client is closed in a finally block, or once connect() returns if it is still running. Strikes that arrive while an alert is being geocoded and sent are kept for the next pass instead of being cleared with the batch.
2026-11-04 16:46:27 -08:00
..