Automattic / Automattic/kue

promotion and TTL timers has been set for all jobs irrespective of its property

Open
#1,090 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

In this line, promotion and TTL timers has been set for all jobs irrespective of its property
https://github.com/Automattic/kue/blob/v0.11.6/lib/kue.js#L353

The job may not be a delayed one or it is not assigned a TTL value. Then, should we still setup timers for those jobs?

Contributor guide

No contributing guide indexed for this repository

Research direction

Read lib/kue.js around line 353 and trace how promotion and TTL timers are assigned when jobs are loaded or created. Compare delayed jobs with jobs that have a TTL, then add focused regression coverage showing that timers are set only for jobs with the corresponding properties.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.