Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Config param to disable websocket rate limit #562

Merged
merged 6 commits into from
Apr 2, 2025

Conversation

cwarnerdev
Copy link
Contributor

Adds a config parameter to disable the websocket rate limits.

@cwarnerdev cwarnerdev changed the title Cofnig param to disable websocket rate limit Config param to disable websocket rate limit Mar 26, 2025
Copy link
Collaborator

@lmoe lmoe left a comment

Choose a reason for hiding this comment

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

Looks good!

Sorry for being pedantic, but could you invert the configuration parameter into an Enable flag instead of Deactivate?

Most of our config parameters are like:

nodeconn.Enable
metrics.Enable

I think websocketRateLimitEnabled would suit better. Rather make it default to true inside the webapi/params.go.

@cwarnerdev cwarnerdev merged commit 6e1adbf into develop Apr 2, 2025
3 of 4 checks passed
@cwarnerdev cwarnerdev deleted the feat/ratelimit-disable branch April 2, 2025 18:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants