def _retry_download_check(exception):
"""Return True if we should retry, False otherwise"""
print_error('Exception during download: %s' % str(exception))
return isinstance(exception, oauth2client.client.HttpAccessTokenRefreshError)
# Exponential backoff retrying downloads of GCS object chunks.
# Maximum 23 retries.
# Wait 1, 2, 4 ... 64, 64, 64... seconds.
评论列表
文章目录