Skip to main content

Module retry_policy

Module retry_policy 

Source
Expand description

Defines the retry policies for Google Cloud Storage.

The storage service recommends retrying several 408, 429, and all 5xx HTTP status codes. This is confirmed in the description of each status code:

In addition, resumable uploads return 308 - Resume Incomplete. This is not handled by the RetryableErrors retry policy.

Structsยง

RetryableErrors
Follows the retry strategy recommended by the Cloud Storage service guides.