Skip to content

Conversation

maxpushka
Copy link
Contributor

No description provided.

const (
// rateLimit is the maximum number of requests per second.
// As of spring 2024, Infura enables 10 req/s rate limit for free plan.
rateLimit = 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to add an option to pass custom rateLimit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think paid Infura accounts allow more than 10 rps

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