queue config form

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 cron
  • drush 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

Releases