Skip to content

Commit

Permalink
feat: add ServiceUnavailable exception to polling retries (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonji committed Jun 9, 2021
1 parent 2768346 commit 11032cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions google/api_core/future/polling.py
Expand Up @@ -34,6 +34,7 @@ class _OperationNotComplete(Exception):
exceptions.TooManyRequests,
exceptions.InternalServerError,
exceptions.BadGateway,
exceptions.ServiceUnavailable,
)
DEFAULT_RETRY = retry.Retry(predicate=RETRY_PREDICATE)

Expand Down

0 comments on commit 11032cf

Please sign in to comment.