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

ratelimits: Replace *Decision merging with always returning most restrictive #7667

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

beautifulentropy
Copy link
Member

@beautifulentropy beautifulentropy commented Aug 15, 2024

Fix a bug added in #7653 which sometimes attributed an "Allowed" Transaction to the amalgamated "Denied" *Decision. Instead, always return the most restrictive *Decision in the batch.

Remove a debug fmt.Printf() call added in #7653

@beautifulentropy beautifulentropy changed the title ratelimits: Replace *Decision merging with returning most restrictive *Decision ratelimits: Replace *Decision merging with always returning most restrictive Aug 15, 2024
aarongable
aarongable previously approved these changes Aug 15, 2024
@beautifulentropy beautifulentropy marked this pull request as ready for review August 15, 2024 21:47
@beautifulentropy beautifulentropy requested a review from a team as a code owner August 15, 2024 21:47
@beautifulentropy beautifulentropy merged commit 31d0ff0 into main Aug 15, 2024
12 checks passed
@beautifulentropy beautifulentropy deleted the ratelimits-replace-merging branch August 15, 2024 21:49
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