Expand description
Run a job in an interval that is increased if there are errors,
and lowered again if there aren’t.
Todo: measure time and subtract the job running time from the
sleep time? Or at least, when gettng an error, take the passed
time as the basis, not the min_sleep_seconds time (since that
might be 0, even).
Structs§
- Loop
With Backoff - Configuration data; implements
Defaultso you can initialize an instance setting only the fields that you want to change (most likely only the*_sleep_secondsvalues).
Enums§
- Loop
Verbosity - Whether the loop should give additional messaging about its own working (this excludes messages about handling errors, and is just about reporting on normal working)