MemoryRateLimitStoreOptions
Options of createMemoryRateLimitStore.
Options of createMemoryRateLimitStore.
Import#
ts
import type { MemoryRateLimitStoreOptions } from "@shadow-js/dusk/server";
Signature#
ts
interface MemoryRateLimitStoreOptions {
/** Most buckets kept; the least recently used is dropped beyond it. Default 10 000. */
readonly maxKeys?: number;
}
Members#
| Name | Type | Description |
|---|---|---|
maxKeys? |
readonly maxKeys?: number |
Most buckets kept; the least recently used is dropped beyond it. Default 10 000. |