Don't add reference to purge to queue if already in queue

Created on 2 March 2022, over 2 years ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

Avoid that the same reference is processed multiple times from the queue.

Continue with a watchdog warning when removing of a reference fails.

Proposed resolution

See patch below.

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom jonathanshaw Stroud, UK

    Advanced queue now supports unique queue items for this purpose.

  • 🇬🇧United Kingdom scott_euser

    Just had a look, yeah duplicate job exception thrown if you try to add the same job twice. Would it be worth considering requiring advanced queue in order to use the queue feature here?

Production build 0.71.5 2024