beoplay-macos-remote-gui icon indicating copy to clipboard operation
beoplay-macos-remote-gui copied to clipboard

Interrupt the backoff algorithm on UI events

Open tlk opened this issue 5 years ago • 0 comments

the mechanism in charge of reconnecting the notification-receiver implements a simple backoff algorithm in order to keep it from entering a busy-loop hammering out 1000s of connection attempts during an error scenario. This means that it might last more than 2 minutes before it attempts to reconnect. Maybe this is what you are seeing.

This could be improved by having the UI reset the backoff algorithm and make it attempt a reconnect immediately when receiving a command (play, etc) or when the user open the status menu.

Originally posted by @tlk in https://github.com/tlk/beoplay-macos-remote-gui/issues/18#issuecomment-561224030

tlk avatar Dec 03 '19 16:12 tlk