allenai / amti

A Mechanical Turk Interface (amti) 🤖
Apache License 2.0
55 stars 18 forks source link

Add retries to mturk client #12

Closed jonchang closed 5 years ago

jonchang commented 5 years ago

I was hitting this error:

botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the CreateHITWithHITType operation (reached max retries: 4): Rate exceeded

Configure the Boto client to do retries so this doesn't occur with large (100+) batches.

jonchang commented 5 years ago

Thanks for merging!