Quantcast
Channel: Yuta NakataのBlog
Viewing all articles
Browse latest Browse all 30

AWS/boto3でRate Exceeded の回避方法

$
0
0
結論 import boto3 from botocore.config import Config config = Config(retries = { 'max_attempts': 10, 'mode': 'standard' } ) client = boto3.client('s3', config=config) でOKです。 巷では、 pip install retrying https://github.com/rholder/retrying をインストールして、回避する方法もありますが、lambdaであればlayer追加等の手順が必要なこともあるので、基本的には、aws …

Viewing all articles
Browse latest Browse all 30

Trending Articles