resque icon indicating copy to clipboard operation
resque copied to clipboard

Add shutdown hooks

Open djmb opened this issue 6 months ago • 0 comments

Rails is getting a new feature called Active Job Continuations, which will allow jobs to be interrupted and resumed.

For this to be integrated with Resque, we need to know when a worker is shutting down.

There's a new stopping? method on the Rails queue adapter. Add a shutdown hook to Resque to allow us to implement that method.

djmb avatar Jun 09 '25 15:06 djmb