-
-
Notifications
You must be signed in to change notification settings - Fork 4k
feat(rest): callbacks for timeout and retry backoff #11067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11067 +/- ##
==========================================
+ Coverage 44.06% 44.19% +0.12%
==========================================
Files 310 310
Lines 17755 17816 +61
Branches 1755 1772 +17
==========================================
+ Hits 7824 7874 +50
- Misses 9919 9930 +11
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
Does this address #11000? |
No, not at all. That requires a change in discord.js not rest (which I'll get to later today) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mentioned changing a thing in kyra's thread, other than that, LGTM
Please describe the changes this PR makes and why it should be merged:
Adds two related utility options for managing rest requests more dynamically.
Retry Backoff is completely new, allows backing off on 5xx and aborted requests. Closes: #10571
timeout gets a callback utility, allows setting the timeout per request Closes: #10927 and supersedes #11013
Status and versioning classification: