Set whether the limiter should start to process the jobs automatically
Set the bucket size for the rate limiter
0
If the bucket size is 0, only concurrency
and delay
will be used to limit the rate of the
jobs. If the bucket size is greater than 0, the consumption of the tokens will be used to
limit the rate of the jobs. The bucket size is the maximum number of tokens that can be
consumed in the interval. The interval is defined by the tokensPerInterval
and interval
properties.
The maximum number of concurrent jobs
Delay between each job in milliseconds
The maximum number of jobs in the queue
Define the interval in milliseconds
The penalty for the BLOCK strategy in milliseconds
Optional
retryThe strategy to use when the queue length reaches highWater
Define the number of tokens that will be added to the bucket at the beginning of the interval
Represents the consolidated limiter options