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

Tweak rateLimit api #3

Merged
merged 4 commits into from
Jan 5, 2025
Merged

Tweak rateLimit api #3

merged 4 commits into from
Jan 5, 2025

Conversation

AntsyLich
Copy link
Member

No description provided.

@AwkwardPeak7
Copy link

lgtm

unrelated question, would it be possible to have a predicate method which returns what permits/duration to give based on given url, so we don't have to add multiple ratelimit interceptors for multiple hosts

@AntsyLich
Copy link
Member Author

that'll require reworking the whole rate limit logic something we can consider for mihonx

@AntsyLich AntsyLich closed this Jan 5, 2025
@AntsyLich AntsyLich reopened this Jan 5, 2025
@AntsyLich AntsyLich merged commit 881757c into main Jan 5, 2025
@AntsyLich AntsyLich deleted the ratelimit branch January 5, 2025 15:32
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.

2 participants