-
When I hit my rate limit, I don't just tip my toe over the line...I do it with style, with thousands of excess requests per second. In this case, I don't want to queue them up, I just want them to fail. How can I do that? Is it safe to raise an exception within the block passed to |
Beta Was this translation helpful? Give feedback.
Answered by
dhempy
Sep 28, 2023
Replies: 1 comment
-
Yes, it appears this works as expected. Here is what I ended up with:
And out of paranoia, I tested it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dhempy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it appears this works as expected. Here is what I ended up with:
And out of paranoia, I tested it: