Cloudflare Rate Limiting not being in Effect
Hey there, I'm trying to get rate limiting working on my hono app, but nothing seems to be working?? I've configured it correctly and even put down temporary crazy limits and it doesn't seem to rate limit my functions from being called.
(Yes, I know it doesn't stop someone from sending 20 requests or whatever but my functions are still being called 20 times, even after checking for the rate limits)
jsonc config:
relevant sample code:
3 Replies
even when doing this: it log's out true (true as in not rate limited):
This is my code and is working for me
Can you share a minimal example?
Did you ever get this working @fisher ? I'm hitting the same issue. I've used https://github.com/rhinobase/hono-rate-limiter/tree/main/packages/cloudflare and also just using the binding directly.
GitHub
hono-rate-limiter/packages/cloudflare at main · rhinobase/hono-rat...
Rate Limit middleware for Hono Server. Contribute to rhinobase/hono-rate-limiter development by creating an account on GitHub.