Skip to content

Commit

Permalink
Increase max_attempts just in case anything goes wrong (for example, …
Browse files Browse the repository at this point in the history
…api rate limit imposed by AWS)
  • Loading branch information
andresriancho committed Jun 10, 2019
1 parent 4071e8b commit 0edfae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enumerate_iam/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def get_client(access_key, secret_key, session_token, service_name, region):

config = Config(connect_timeout=5,
read_timeout=5,
max_attempts=30,
retries={'max_attempts': 1},
max_pool_connections=MAX_POOL_CONNECTIONS * 2)

Expand Down

0 comments on commit 0edfae5

Please sign in to comment.