Automattic / Automattic/kue

how to lock kue job remove method while using distributed workers across machines?

Open
#1,140 0 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 need to do certain tasks on server restart.

On server restart, need to remove certain jobs and restart them at same time, so need to stop jobs starting at multiple instances.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. First clarify which jobs must be removed or restarted during server restart and the required behavior across distributed workers, then inspect Kue's job removal and worker-start paths. Done requires an agreed locking or coordination design and tests covering multiple workers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.