Skip to main content

get_retry_delay

Method
This is a method of the FailoverManager class in the failover module.
Calculate retry delay for an attempt.

Signature

def get_retry_delay(attempt: int) -> float

Parameters

attempt
int
required
Attempt number (0-indexed)

Returns

Returns
float
Delay in seconds