sigrlami / glaze-mq

Multi-protocol exchange broker for IoT within the 5G-and-Beyond networks, and primary emphasis on scalability.
MIT License
12 stars 2 forks source link

Client reconnects sometimes after calling `pause` #9

Open alexzaru opened 9 months ago

alexzaru commented 9 months ago

I'm using latest version of server for MQTT. After some recent testing, I found that calling resume actually does no behave as expected. So, when I call pause on the client, it automatically reconnects but not always. I believe there some kind of race condition that ignores pause event.

If there a workaround for this please suggest.

sigrlami commented 9 months ago

That shouldn't happen. I'll check. If you have some examples, please share them.