RestartParams have been added for RestartPolicy::always(..) and RestartPolicy::on_failure(..).
The linear backoff has been replaced with an exponential approach, with a configurable limit for restarts.
BREAKING CHANGE: The default RestartPolicy is set to RestartPolicy::never(), RestartPolicy::always and RestartPolicy::on_failure have args .
RestartParams
have been added forRestartPolicy::always(..)
andRestartPolicy::on_failure(..)
. The linear backoff has been replaced with an exponential approach, with a configurable limit for restarts.BREAKING CHANGE: The default RestartPolicy is set to
RestartPolicy::never()
,RestartPolicy::always
andRestartPolicy::on_failure
have args .