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

Whitelist/toggle rate limit on hub creation #614

Open
camelgod opened this issue Aug 15, 2022 · 2 comments
Open

Whitelist/toggle rate limit on hub creation #614

camelgod opened this issue Aug 15, 2022 · 2 comments

Comments

@camelgod
Copy link

Many of us use Reticulum to create rooms programmatically from one endpoint.

The rate limit here

https://github.com/mozilla/reticulum/blob/7fc356e3318f2f214acf67aec898d2c904fd7fad/lib/ret_web/controllers/api/v1/hub_controller.ex

makes it impossible to rapidly create rooms on high user demand..

Really need a IP whitelist or toggle to turn off and/or adjust the rate limiter.

@camelgod camelgod changed the title Whitelist rate limit on hub creation Whitelist/toggle rate limit on hub creation Aug 15, 2022
@yakyouk
Copy link

yakyouk commented Aug 10, 2023

You can work around this by checking the error code returned, 403 usually means you've been rate-limited and can retry

@camelgod
Copy link
Author

camelgod commented Aug 12, 2023

You can work around this by checking the error code returned, 403 usually means you've been rate-limited and can retry

Yeah but if you have more than one or lets say hundreds of requests per second? My server would be backed up. Its not exactly scaleable unless i create multiple reticulum instances and load balance it manually. Would be nice to be able to hammer the server in any case from the same IP.

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

No branches or pull requests

2 participants