This module allows you to control the processing speed of Drupal queues, which is useful when dealing with rate-limited external services. It prevents queues from running via the default cron and requires a separate cron job or Drush command to manage their throttled execution.
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.
Ask your assistant about Queue Throttle
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.