Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

Source

View on GitHub

praisonaiagents/llm/failover.py at line 376