Beignet API reference
    Preparing search index...

    Validated configuration for the Upstash rate limit provider.

    interface UpstashRateLimitConfig {
        ALGORITHM: UpstashRateLimitAlgorithm;
        PREFIX: string;
        REDIS_REST_TOKEN: string;
        REDIS_REST_URL: string;
        TIMEOUT_MS: number;
        TIMEOUT_POLICY: UpstashRateLimitTimeoutPolicy;
    }
    Index

    Counter algorithm used by the provider.

    PREFIX: string

    Prefix applied to rate-limit keys.

    REDIS_REST_TOKEN: string

    Upstash Redis REST token.

    REDIS_REST_URL: string

    Upstash Redis REST URL.

    TIMEOUT_MS: number

    Maximum wait for a rate-limit decision, from 1 through 2,147,483,647 milliseconds.

    Behavior when the decision timeout is reached.