Private GIT

Skip to content
Snippets Groups Projects
Commit 21156631 authored by Sean Rees's avatar Sean Rees
Browse files

Fix reconnect bug and add watchdog timer

We called disconnect() twice on the underlying libdyson object, which
resulted in an unhandled exception and the process hanging. Unfortunately
addressing this does not reliably result in reconnects; so also add a default
5 minute watchdog timer. If the timer expires, the process aborts so
systemd can restart it.
parent 2d8bc3a8
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment