Created on 17 April 2020, about 5 years ago
Updated 16 April 2025, 9 days ago

I needed a good/fast way to queue items but didn't want to queue up the same items multiple times. However, to make sure that I didn't queue up the same item again that required a way to denote this either in the queue or elsewhere. The queue seemed like a logical place. This appears to work... however, I am not that familiar with PhpRedis so I can't say for sure.

I did try to implement for ReliableQueue, however, with multi() it simple did not support well as it didn't add to the available Items as expected BUT it still added a new item to availableListKey and thus the count would forever be incorrect and always show more items in the queue than there actually where. I *think* that the non-reliable queue is good enough for my purpose here and I only implemented that one.

If the implementation is crazy please let me know.

โœจ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States grndlvl

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024