Remove connection close from QueueBase::shutdown()

Created on 18 August 2025, 2 days ago

Problem/Motivation

A queue shutting down should not cause the connection to be closed for all other queues.

Steps to reproduce

> \Drupal::service('queue')->get('test3')->createItem('test');
= "21e91e4a-e684-47d3-81b6-97a21d8ada22"

> \Drupal::service('queue')->get('test')->shutdown();
= null

> \Drupal::service('queue')->get('test3')->createItem('test');
 [error]  Failed to send item to queue test3: Channel connection is closed. 
= false

Proposed resolution

Remove connection->close() from shutdown()

Remaining tasks

User interface changes

API changes

QueueBase::shutdown() will not close connection.

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States cmlara

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024