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
I'm getting a 522 after a fetch in production but everything is running ok locally. Are you getting this error too?
No I don't get that error.