Skip to content
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

Update #4

Merged
merged 50 commits into from
Aug 3, 2022
Merged

Update #4

merged 50 commits into from
Aug 3, 2022

Conversation

Alpha62579
Copy link
Owner

No description provided.

Luc1412 and others added 30 commits July 9, 2022 23:06
This should increase throughput of the number of requests that can be
made at once, while simultaneously following the new standard practice
of using the rate limit bucket header.

This is an accumulation of a lot of months of work between a few people
and it has been tested extensively. From the testing it seems to work
fine, but I'm not sure if it's the best way to do it.

This changeset does not currently take into consideration sub
rate limits yet, but the foundation is there via Route.metadata. In the
future, this metadata will be filled in with the known sub rate limit
implementation to allow them to have separate keys in the rate limit
mapping.

Co-authored-by: Josh <josh.ja.butt@gmail.com>
This is useful for cases where a rate limit is known to be
extraordinarily high, but you still want to handle the error.
This is common with routes such as emoji creation.
This is to speed up cases where someone is just querying the length
of the underlying sequence. If anything else is done to the sequence
then it is copied from the original iterator.

This change should be mostly transparent.
z03h and others added 20 commits July 26, 2022 09:38
Co-authored-by: Bryan Forbes <bryan@reigndropsfall.net>
This should allow them to be easier to use for users without requiring
a lot of metaprogramming hackery if you want to involve state.
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Fix CooldownMapping generic typing and ensure other public methods 
have proper generics
@Alpha62579 Alpha62579 merged commit a580ca0 into Alpha62579:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.