-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
feat: rate limit the public api #899
base: main
Are you sure you want to change the base?
Conversation
missing limit on file endpoint as well |
Tell me please, what should be the key for the file endpoint |
we added in prod device_id for files so you can now use it |
i think the rate limit PR is missing wrangler config |
it's not. You need to set the rate limits in the code, and than use the newly created script ( I have shared the command with you privately, but I will share it again here: bun run scripts/generate_rate_limits.ts ./cloudflare_workers/plugin/index.ts >> cloudflare_workers/plugin/wrangler.toml |
Why generating them while all the wrangler config is written in the config file? |
Add also a log in stats about rate limiting, it's important for the user to be able to see it |
I will add rate limiting for the files worker |
Quality Gate failedFailed conditions |
No description provided.