-
Notifications
You must be signed in to change notification settings - Fork 13
Rate limit implementation? #18
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Type
Fields
Give feedbackNo fields configured for issues without a type.
Seemed not possible with native Workers (even with Durable Objects), as
Date.now()is a fixed value.Maybe use a rate limit API running on external hosting solutions, e.g. Heroku?
An idea:
Workers =(per request)=> Throttler =(when reached rate limit)=> Write to KVor just use Cloudflare Page Rules to rate limit, but a domain is needed for this to work.