No workerd: the default store counts per isolate, and an edge deployment has many, so the limit it would enforce is not the one configured. The README says so rather than leaving someone to find out. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
11 lines
357 B
Markdown
11 lines
357 B
Markdown
# Changelog
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
|
|
- `rateLimit({ rules, store?, keyOf?, provides? })`: publishes a `RateLimiter` under `provides`
|
|
(default `rateLimit`). Exceeding a rule throws `TooManyRequests`, a branded 429 carrying
|
|
`Retry-After`. The default `MemoryStore` sweeps expired windows on an interval and is released by
|
|
the plugin's `onShutdown`.
|