Skip to main content

retryable

Function retryable 

Source
fn retryable(method: &Method, error: &TransportError) -> bool
Expand description

A rate limit is retried for every method, because the forge refused the request without applying it. Anything else is retried only for an idempotent method, because it does not tell whether the forge applied it.