Interface RateLimiterOptions

interface RateLimiterOptions {
    duration: number;
    max: number;
}

Properties

Properties

duration: number

Time in milliseconds. During this time, a maximum of max jobs will be processed.

max: number

Max number of jobs to process in the time period specified in duration.

Generated using TypeDoc