Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Allows one to adapt queues to throttle whilst processing. Handy when ie. your queue is consuming a third party rate limited 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.
Project information
- Module categories: Developer Tools, Import and Export, Integrations
- 21 sites report using this module
- Created by baikho on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.