Workers rate limit working only locally

I'm trying to use the rate limit on workers: This works on wrangler dev (local server) but it does not on the cloud. When I try console logging the binding name after triggering the worker fetch, I get an empty object {} for the binding object. The same thing on local has limitVal , period etc which is the rate limit config from wrangler.toml. Has anyone else faced something similar?
2 Replies
Ailín Tobin
Ailín Tobin3mo ago
I'm getting a 522 after a fetch in production but everything is running ok locally. Are you getting this error too?
whitewhiskers
whitewhiskers3mo ago
No I don't get that error.
Want results from more Discord servers?
Add your server