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

backend: replace ratelimiter with x/time/rate. #3155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bznein
Copy link
Collaborator

@bznein bznein commented Feb 4, 2025

Removes the ratelimiter package and replaces its
usages with x/time/rate.

@bznein
Copy link
Collaborator Author

bznein commented Feb 4, 2025

@benma I made a mess on the other PR trying to merge master into it. I opened a new one with the same diff.

I managed to test these changes also on the etherscan.go path in the same way (adding a log line and artificially limiting even further the number of calls per second) and confirmed that they do in fact happen less often.

@bznein bznein force-pushed the ratelimiting branch 2 times, most recently from f6692ae to d6b1e28 Compare February 5, 2025 09:04
@bznein
Copy link
Collaborator Author

bznein commented Feb 11, 2025

@benma friendly ping on this one :)

Removes the ratelimiter package and replaces its
usages with x/time/rate.
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.

1 participant