https://gitlab.synchro.net/main/sbbs/-/merge_requests/320#note_3833
Ahh, bad assumption on my part then!
So in hindsight, maybe these two lines should have stayed in mqtt_startup, since it's only the subscriptions that need to be re-applied in the connect callback when a reconnect occurs:
mqtt_pub_noval(mqtt, TOPIC_SERVER, "recycle");
mqtt_pub_noval(mqtt, TOPIC_SERVER, "client");
I just tested that here, and my Linux build no longer hits a recycle loop even with the Publish QOS set to 1.
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net