Automattic / Automattic/kue

In 0.9.1 Im getting stuck jobs in queued state

Open
#636 14 comments 0 reactions 0 assignees View on GitHub
need more info
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I'm getting stucked jobs in queued state...
sympton is: a lot of jobs fail with TTL, then, after returning to the queue only 1 job at a time is getting promoted to active, however my queue is configured to have 100 jobs being processed concurrently...

If I restart the process, I get the 100 jobs being processes at a time again...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with a queue concurrency of 100 and jobs that fail with TTL, then trace how failed jobs return to the queue and are promoted. Done means queued jobs resume processing at the configured concurrency without requiring a process restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.