Marking a specific job id as completed
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
Can someone please help with marking a specific job id as completed.
The way my server app works is that its receiving some images from a mobile app, its doing some processing on that image and then it adds the details of the final image and some other details in a Kue job.
Then i need to send all the jobs to another client trough a socket connection that will then pick the first one in the queue, lets say display that image in the browser and then sends a socket event back to the server saying that the image from the jobID X has been shown, then the jobID X needs to be marked as completed, thus being removed from the queue (from the active elements).
So how do i mark a specific ID as completed?
Thank you so much.
Alex
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Kue's job lifecycle and active-queue API, using the reported job ID as the trace point; the issue names no source file or test. Confirm the supported completion path and verify that a client acknowledgment removes that exact job from the active queue.
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