Closed adimascio closed 6 years ago
An alternative would be to use https://github.com/jd/tenacity but that would require and external dependency.
Any chance this PR be reviewed any time soon ?
Thanks, this looks really great, I've just merged and updated the HISTORY.txt
When the harvested OAI server returns an HTTP 503, the default policy is to retry 5 times and wait 120 seconds between each try. Due to the variety of OAI server implementations, one might want to configure those parameters. This policy can be customized through the
BaseClient.custom_retry_policy
's parameter. For instance::)