Automattic / Automattic/kue

TTL: reinsert

Open
#1,207 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 am interested in recommended usage approach for reinsertion of a job on TTL expiry, where the reason is failure of the user app to call 'done' in time. This is mentioned in several other issues, but I think the usage case I have is slightly different.

We are using kue to manage human jobs. In this case, we have a queue organized around pieces of work identified by properties, e.g. [morning, food], [evening, entertainment]. Workers pull jobs from qualified queues, but if they abandon this work, the job should be returned to the related queue on expiry.

What would be the recommended usage approach for the above scenario?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing Kue's TTL expiry and job requeue behavior, then consult the related issues referenced in the report. The issue does not name a file or test, and completion is not defined beyond identifying a recommended approach for reinserting expired human-work jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.