Automattic / Automattic/kue

Some `kue` Redis keys aren't prefixed

Open
#994 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I've recently started integrating `kue` into my project and making sure it keeps Redis nice and tidy. Unfortunately, I have found a few `kue` specific keys that aren't respecting the prefix passed into `createQueue` (found via `KEYS *` in `redis-cli`):

- activeJobsTTL:lock
- promotion:lock

Other keys like jobs:complete are prefixed as expected:

- q:jobs:complete

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Search the queue creation and Redis key-generation entry points for activeJobsTTL:lock, promotion:lock, and prefix handling; verify the two keys use the createQueue prefix like q:jobs:complete, then add or run a regression check using redis-cli.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend, databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.