gwu-libraries / obento

Bento Box style search results page
MIT License
8 stars 1 forks source link

Add sleep into Summon and Launchpad retry loops #404

Closed kerchner closed 7 years ago

kerchner commented 7 years ago

We are seeing 429 errors (rate limiting errors) when testing with the Summon pre-prod API. While these errors may be due to a more limited throughput on Summon's test server (vs. their production server), it would be prudent to build in a sleep delay in the retry loop. This would return successful quieries more often, in cases where the issue is one of rate limiting.