We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm implementing reconnect logic in my Azure IoT library, and I've hit what looks like an in infinite loop in the reconnect logic.
When I call reconnect, the function call never ends. A quick read of the code shows this:
reconnect
while self._subscribed_topics: feed = self._subscribed_topics.pop() self.subscribe(feed)
LInk:
Adafruit_CircuitPython_MiniMQTT/adafruit_minimqtt.py
Line 617 in bd24155
The subscribe method puts the topic onto the _subscribed_topics list, so this list is never empty and the while loop never ends.
subscribe
_subscribed_topics
The text was updated successfully, but these errors were encountered:
Fix for adafruit#28
a391cce
5ebb33d
No branches or pull requests
I'm implementing reconnect logic in my Azure IoT library, and I've hit what looks like an in infinite loop in the reconnect logic.
When I call
reconnect
, the function call never ends. A quick read of the code shows this:LInk:
Adafruit_CircuitPython_MiniMQTT/adafruit_minimqtt.py
Line 617 in bd24155
The
subscribe
method puts the topic onto the_subscribed_topics
list, so this list is never empty and the while loop never ends.The text was updated successfully, but these errors were encountered: