OptionalalgorithmRate limit algorithm used for every bucket served by this port.
Upstash Redis client used for rate limit counters.
OptionalinstrumentationOptional provider instrumentation target.
OptionalprefixPrefix for keys used by this rate limiter.
OptionaltimeoutMaximum time to wait for an Upstash decision, from 1 through 2,147,483,647 milliseconds.
OptionaltimeoutBehavior when Upstash does not respond before timeoutMs.
"fail-closed" throws so protected work does not continue without a
rate-limit decision. "fail-open" allows the request and emits a
degraded instrumentation event.
Options for adapting an app-owned Upstash client directly.