I am looking for the proper mosquito.conf settings for an infrequent bridge connection. I have the bridge part down, but I’m wondering about timeouts, etc.
My situation is I have three brokers that talk to each other. They may do a few changes in an hour - and then none in a week or more. So having them ping each other every 60 seconds seems wrong.
I set the keepalive_interval
to 3600, but then started getting problems. My guess is it is some sort of half open tcp connection? Or some other connection issue. When I restart the containers, all work again as planned.
Ideally, I’d like them to just close down the connection - either every time, or after say 5 minutes. The performance hit of reopening connections is unimportant to me.
Sorry if this is obvious but it’s hard to tell if my changes make sense.