Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.http.retry

Module Contents

RetryWaitFn

roboto.http.retry.RetryWaitFn#View Source

default_retry_wait_ms()

roboto.http.retry.default_retry_wait_ms(retry_state, _exc)#View Source

Returns sleep time in ms using exponential backoff with full jitter, as described in: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/

Parameters

retry_state tenacity.RetryCallState
_exc Optional[BaseException]

Return type

float

Was this page helpful?