Automattic / Automattic/kue

is it possible for rangeByDate()?

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

Description

So I want to build a worker to clean up tasks that completed 3 days ago or older, like rangeByState() with time frame. Is that possible?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing rangeByState() entry point and the job-query behavior it uses. Clarify the intended date boundary for completed jobs, then determine whether a rangeByDate() API can be specified and verified with tests; done means the requested three-days-old-or-older cleanup query has defined behavior.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.