nexus-agents - v2.80.0
    Preparing search index...

    Interface AdapterRateLimiterConfig

    Configuration options for the RateLimiter.

    interface AdapterRateLimiterConfig {
        capacity: number;
        refillRate: number;
        refillInterval?: number;
    }
    Index

    Properties

    capacity: number

    Maximum number of tokens the bucket can hold. This is also the initial token count.

    refillRate: number

    Number of tokens added to the bucket per second.

    refillInterval?: number

    Interval in milliseconds for automatic refill checks. Only used when waiting for tokens. Default: 100ms.