XasWorks / XasCode

Repository of all the important multi-project libraries
GNU General Public License v3.0
5 stars 2 forks source link

Improve MQTT's resub_thread #27

Closed Xasin closed 5 years ago

Xasin commented 6 years ago

See CyanRainNin's comment:

So actually the while loop is supposed to run only until a connection is established? How about instead including "retry" in the catch block - that way it's clear that everything until @mqtt.get is not supposed to be constantly looping.

Xasin commented 5 years ago

The resub thread was cleaned up nicely, so this ought to be closed!