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

Use Interaction IDs from followup tokens to seperate into correct buckets #9

Merged
merged 1 commit into from
May 2, 2023

Conversation

ssMMiles
Copy link
Contributor

@ssMMiles ssMMiles commented May 2, 2023

Followup webhooks previously shared ratelimits under the application ID as the interaction token was fully stripped from the bucket path. This change instead extracts the interaction ID from the token and uses that in the bucket path to correctly give its interaction its own unique buckets.

I've included a test to verify it.

@germanoeich germanoeich changed the base branch from main to dev May 2, 2023 21:18
@germanoeich germanoeich merged commit c7eeec8 into germanoeich:dev May 2, 2023
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