HENNGE / aiodynamo

Asynchronous, fast, pythonic DynamoDB Client
https://aiodynamo.readthedocs.io/
Other
73 stars 21 forks source link

Throttle loop should probably retry more errors: #47

Closed dimaqq closed 4 years ago

dimaqq commented 4 years ago

These 2 should be retried:

    if status == 500:
        return InternalDynamoError()
    elif status == 503:
        raise ServiceUnavailable()

Possibly some other errors too.

ojii commented 4 years ago

ServiceUnavailable already is. I guess InternalDynamoError would also make sense.