Configuration for the constant backoff policy. Each retry waits for the same fixed delay, optionally randomised by a jitter factor to spread out thundering-herd retries across multiple clients.
delay
IMPORT_PATH: "@daiso-tech/core/backoff-policies"
"@daiso-tech/core/backoff-policies"
Optional
Fixed wait duration applied between every retry attempt.
import { TimeSpan } from "@daiso-tech/core/time-span";TimeSpan.fromSeconds(1) Copy
import { TimeSpan } from "@daiso-tech/core/time-span";TimeSpan.fromSeconds(1)
Adds randomness to the delay to avoid thundering-herd effects. Set to null to disable jitter.
null
0.5 Copy
0.5
Configuration for the constant backoff policy. Each retry waits for the same fixed
delay, optionally randomised by a jitter factor to spread out thundering-herd retries across multiple clients.IMPORT_PATH:
"@daiso-tech/core/backoff-policies"