How to handle rate limiting and synchronous pauses? #318
Unanswered
postmodern
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Does the server respond with a rate limiting header? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to interface to a 3rd-party API service (cert.sh) with a bunch of async tasks to perform queries concurrently. However, if too many HTTP requests are sent within a period of time, the API will then start returning timeout error responses, which requires that I wait for a few seconds before sending another request. Is there a way to create some kind of global shared timeout lock that I could enable when a timeout error response which would temporarily pause all async tasks trying to access the API endpoint?
Beta Was this translation helpful? Give feedback.
All reactions