flukso / lua-mosquitto

Lua bindings to the libmosquitto MQTT client library.
https://github.com/flukso/lua-mosquitto
Other
63 stars 42 forks source link

add mosquitto_reconnect_delay_set() #18

Open Boteium opened 6 years ago

Boteium commented 6 years ago

It seems the default reconnect behaviour is to keep retrying every 1 second. It would be nice to enable reconnect_exponential_backoff via this function.

karlp commented 6 years ago

really need to get some documentation going at some point to capture all the "sensible defaults" we use. shouldn't block this ticket though.