Feature description
(I am evaluating Graphile worker to see if it could fit the use case I have in mind)
I would like a new job_key_mode mode perhaps called abort_replace which would trigger abort on the locked task with the matching job_key
Motivating example
I have a job which takes a while to complete and relies on data. If a new job has been submitted which has the same jobKey then the locked task is running with stale data and can be aborted since the result of the task won't be needed
Supporting development
I [tick all that apply]:
Feature description
(I am evaluating Graphile worker to see if it could fit the use case I have in mind)
I would like a new
job_key_modemode perhaps calledabort_replacewhich would trigger abort on the locked task with the matchingjob_keyMotivating example
I have a job which takes a while to complete and relies on data. If a new job has been submitted which has the same
jobKeythen the locked task is running with stale data and can be aborted since the result of the task won't be neededSupporting development
I [tick all that apply]: