TransferConfig for multipart upload

0

Customer wants to tune their multipart upload configuration for more resiliency. They are using boto3, and have looked at TransferConfig, and notice it has a tunable retry number for downloads, but not uploads. They are looking for information on tuning retry behavior for multipart upload. Can you set a max? Is there a default max retry of multi part upload for a particularly object? In general, do we have any documentation on this?

AWS
Ted_Z
已提问 3 年前354 查看次数
1 回答
0
已接受的回答

You can potentially update in the Botocore config. That's where the default retry comes from. A sample retry configuration from https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html

by using

[myConfigProfile]
region = us-east-1
max_attempts = 10
retry_mode = standard

or

config = Config(
   retries = {
      'max_attempts': 10,
      'mode': 'standard'
   }
)
AWS
Vivek_S
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则