queue_throttle
22 sites
Security covered
Allows one to adapt queues to throttle whilst processing. Handy when ie. your queue is consuming a rate limited third party API.
GitHub mirror: https://github.com/baikho/drupal-queue_throttle
Usage
Enabling a queue for throttled processing will disable it from running on the default core cron.
Set up a new cron job to schedule throttled queue processing, or manually run one of the following drush commands (Support for both drush 8 and 9):
drush queue-throttle: Run queue throttle crondrush queue-throttle-run: Throttle a specific queue by name
Example: drush queue-throttle-run some_queue --time-limit=180 --items=10 --unit=minute
Note
This only works for Queues having a pairing QueueWorkerInterface.