Problem/Motivation

A null queue backend which does nothing is useful in various circumstances. Patch coming.

Steps to reproduce

Proposed resolution

Add a null queue backend plugin.

Remaining tasks

User interface changes

API changes

New plugin.

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

joachim’s picture

Title: Add a null queue backend » Added null queue backend
Status: Active » Needs review
bojanz’s picture

A null queue backend which does nothing is useful in various circumstances.

What are those circumstances?

jcnventura’s picture

I'd guess stage environments where you want to be able to test without running the risk that the queue processing will actually do something.

joachim’s picture

IIRC it was that the project didn't want Commerce License to send out expiry emails, and there's no admin setting for that, so the simplest thing was to make the queue for those email jobs just throw them away.

  • bojanz committed 8e4345a on 8.x-1.x authored by joachim
    Issue #3202211 by joachim: Added null queue backend
    
bojanz’s picture

Status: Needs review » Fixed

Okay then, let's do this.

Sorry for the long wait, joachim.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jsacksick’s picture

Note that this introduced phpcs violations that I just fixed as part of https://git.drupalcode.org/project/advancedqueue/-/commit/c469ed33352008.... (unused use statements for exsample).