mrozycki/rustmas

Retry on transient failures in configurator

Closed this issue · 0 comments

Currently the configurator will fail immediately upon transient failure, such as an issue connecting to the lights to set a frame. This means the process can crash due to a transient failure. This is somewhat mitigated with the option to save partial results, but ideally it should not stop the process at all.

In the scope of this task implement retries on tasks that might transiently fail in the configurator (e.g. setting lights, maybe taking a picture?). Retry a few times with an increasing delay. On several failures in a row prompt the user to check the connection and press a key to continue.