Skip to content

Backoff

backoff(startingThrottleInMsec, backoffFactor): PollStrategy

Defined in: packages/agent/src/polling/strategy.ts:114

A strategy that throttle, but using an exponential backoff strategy.

number

The throttle in milliseconds to start with.

number

The factor to multiple the throttle time between every poll. For example if using 2, the throttle will double between every run.

PollStrategy