QueueScheduler
for your queue.defaultJobOptions
, and it will apply to all jobs added to the queue, unless overridden. For example:2 ^ attempts * delay
milliseconds. For example, with a delay of 3000 milliseconds, for the 7th attempt, it will retry 2^7 * 3000 milliseconds = 6.4 minutes after the previous attempt. With a fixed backoff, it will retry after delay
milliseconds, so with a delay of 3000 milliseconds, it will retry every attempt 3000 milliseconds after the previous attempt.UnrecoverableError
class.