toniq v1.2.3 Toniq.RetryWithIncreasingDelayStrategy

Default retry strategy:

  • Will retry jobs 5 times after the initial attempt.
  • Waits 250 ms before the first try, then 4 seconds, then 20 seconds, then 1 minute and finally 2.5 minutes before the last try.

Summary

Functions

ms_to_sleep_before(attempt)
retry?(attempt)