Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Queue Throttle

20 sites Security covered
View on drupal.org

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 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.

Activity

Total releases
2
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
2.0.0 Stable Jan 18, 2025
2.x-dev Dev Jan 18, 2025