JamesHarrison / openob

The Open Outside Broadcast project for radio contribution links and studio-transmitter links.
158 stars 34 forks source link

Reddis auto reconnect #46

Closed scottgrobinson closed 5 years ago

scottgrobinson commented 5 years ago

Feature request!

If either the 'server' or 'client' are unable to connect to Redis, we should auto re-try. Maybe with exponential backoff or similar.

I've got two RPi's that I use as TX & RX units. Sometimes the TX doesn't connect to reddis on boot (Probably because network isn't ready and I'm only starting it with @reboot in crontab), but if the RX comes up before the TX (With TX hosting the 'server'), it needs a reboot to automatically connect.

scottgrobinson commented 5 years ago

Resolved with https://github.com/JamesHarrison/openob/pull/47

JamesHarrison commented 5 years ago

Thanks for the fix! Merged and released.