Throttling
Throttling allows you to limit the rate at which jobs are processed to prevent overloading your system or external services. You can define a throttle when creating a queue:
In this example, only three workers will process ApiJob
, and each job will be throttled to run at a minimum interval of 5 seconds between executions.
Last updated