You are viewing a single comment's thread from:

RE: A Simple Rate Limiter for CloudFlare Workers (Serverless API) based on KV Stores

in #blog3 years ago

Very nice! Slight typo due to paste conversion?

if (value >= MAX_REQUESTS) {

-->

if (value >= MAX_REQUESTS) {
Sort:  

Thanks! fixed.. There is a enhanced version in my blog post