OptionalautoSet whether the limiter should start to process the jobs automatically
OptionalbucketSet 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.
OptionalconcurrencyThe maximum number of concurrent jobs
OptionaldelayDelay between each job in milliseconds
OptionalhighThe maximum number of jobs in the queue
OptionalintervalDefine the interval in milliseconds
OptionalpenaltyThe penalty for the BLOCK strategy in milliseconds
OptionalretrySet the default options for the retry process of the jobs
OptionalstrategyThe strategy to use when the queue length reaches highWater
OptionaltokensDefine the number of tokens that will be added to the bucket at the beginning of the interval
Represents the limiter options