chirpstack / chirpstack-mqtt-forwarder

ChirpStack MQTT Forwarder is a forwarder which can be installed on the gateway to forward LoRa data over MQTT.
MIT License
22 stars 13 forks source link

Implement max_reconnect_interval setting like Chirpstack Gateway Bridge #51

Closed paill0u closed 8 months ago

paill0u commented 9 months ago

Hello !

Would it be possible to implement a max_reconnect_interval setting like it use to behave for Chirpstack Gateway Bridge ?

The MQTT broker provider I'm using has a strict rule of services restart every day, which makes the Chirpstack MQTT forwarder give up at some point not trying to reconnect.

Thanks a lot in advance for your consideration !

brocaar commented 8 months ago

With the migration to rumqttc this is no longer relevant, on error it will retry after 1 second. Please see the v4.2.0 release