Skip to main content

Function: redriveDelay()

redriveDelay(attempt, policy?): number

Defined in: packages/core/src/core/durability.ts:96

The place's delay before the next drive, after attempt drives (1-based). Doubles from backoff.initialMs and stops at backoff.maxMs. No jitter, so a place can compute the same due time again after a restart.

Parameters​

attempt​

number

policy?​

RunPolicy

Returns​

number