Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExponentialBackoffInterval ¶
ExponentialBackoffInterval calculates the backoff interval for a given attempt using exponential growth. baseIntervalSec: initial interval in seconds before the first retry. maxIntervalSec: maximum interval in seconds. attempts: current retry attempt number. Returns the interval in seconds, capped at maxIntervalSec.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.