我正在尝试找出 App Engine 的默认重试逻辑 Cloud Storage Client Library .
来自RetryParams docs上面的链接“感觉”好像有一些默认的重试逻辑。
然而source code here另有说明。
有人知道明确的答案吗?
谢谢
最佳答案
如果未指定retry_params
,则使用此处的默认值:
https://github.com/GoogleCloudPlatform/appengine-gcs-client/blob/master/python/src/cloudstorage/rest_api.py#L146
粘贴给后代:
backoff_factor=2.0,
initial_delay=0.1,
max_delay=10.0,
min_retries=3,
max_retries=6,
max_retry_period=30.0,
关于python - App Engine 的云存储客户端库默认重试逻辑是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32294336/