Retrying on failure
Livebox can retry the request when an error occurs during the execution of fetcher instance. There are two strategies that can be used:
Interval, using
.retry(RetryStrategy.INTERVAL)
, this retries the request 3 times with a 1 second interval between each try.Exponencial backoff, this is a known strategy that works very well when dealing with network errors. Exponencial backoff uses the formula to calculate the delay with a 1 second interval between each try, for a max of 3 times.
Last updated