--run-queue Drush option no longer works

Created on 13 November 2023, over 1 year ago
Updated 13 June 2024, about 1 year ago

Problem/Motivation

Somewhere between version 2.0.10 and 2.0.12 the --run-queue seems to have stopped working.

Steps to reproduce

Configure warming
Execute drush warmer:enqueue --run-queue
Execute drush queue:list (observe `warmer` queue has items)

Running drush queue:run warmer manually works around the issue.

Example

> drush warmer:enqueue cdn,entity --run-queue
 [success] 1989 items enqueued for cache warming.
 [success] Warming caches in 41 batches from the "warmer" queue.
Connection to closed.
> drush queue:list
 ------------------------------------------ ------- --------------------------------- 
  Queue                                      Items   Class                            
 ------------------------------------------ ------- --------------------------------- 
  warmer                                     41      Drupal\Core\Queue\DatabaseQueue  
 ------------------------------------------ ------- --------------------------------- 
Connection to closed.
>

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wells Seattle, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024