Skip to content

Commit

Permalink
Increase delay to avoid throttle.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Dec 24, 2024
1 parent 0140d87 commit 72857ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def delete_old_api_gateways(hours_old=3):

client.delete_rest_api(restApiId=api_id)
print("Deleted successfully. Sleeping for 32 seconds...")
time.sleep(32)
time.sleep(60)
else:
print("Invalid or missing createdDate for API:", api)

Expand Down

0 comments on commit 72857ef

Please sign in to comment.