Automattic / Automattic/kue

Server restart for delayed jobs.

Open
#1,244 1 comment 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 have use case that allows me to use this library's delay feature, and I love it cos it let me schedule events i'd previously be using cron for.

But I am wondering if the server stops before a job is due and restarts after the job's delay has elapsed, due KUE still process those? if not can the retry feature to ensure that it attempts to run the job even after the delay?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by tracing Kue's delayed-job and retry handling across a server restart, then verify what happens when the delay expires while workers are offline. Done means the restart behavior is implemented or clearly specified and covered by tests for jobs due during downtime.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.