Possible to kill a failed job thread?
Created by: leontastic
I have a task that takes a long time to complete (up to 5 minutes) and deals with streaming a large amount of data to and from the network.
When an error is emitted from my sandboxed job, bull will immediately move the job to the failed set. However, some async tasks continue to work, which needlessly consumes computing resources since I don't care about the result of a failed job.
Is there a way to just kill the failed job thread? I'm not interested in gracefully stopping the failed job, I just want it to stop using resources immediately.