You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for Maps API client suggests that each API client automatically handles retry on transient failure:
Retry on Failure The client libraries will automatically retry any request if the API sends a 5xx error.
Retries use exponential back-off, which helps in the event of intermittent failures.
However, looking at the code for maps.Client, Maps API methods look like they ultimately boil down to do(), which in turn defers to http.Client's Do() method. This does not perform any retry or backoff in the default HTTP client.
Is this a library bug or a documentation error, or am I missing something obvious? If one of the former, is there any formal guidance on best practices to perform retry/backoff with a maps.Client? Thanks!
The text was updated successfully, but these errors were encountered:
The documentation for Maps API client suggests that each API client automatically handles retry on transient failure:
However, looking at the code for
maps.Client
, Maps API methods look like they ultimately boil down todo()
, which in turn defers tohttp.Client
'sDo()
method. This does not perform any retry or backoff in the default HTTP client.Is this a library bug or a documentation error, or am I missing something obvious? If one of the former, is there any formal guidance on best practices to perform retry/backoff with a
maps.Client
? Thanks!The text was updated successfully, but these errors were encountered: