Skip to content

How to pause a queued job on graceful shutdown & resume afterward? #38579

Answered by RyutaKojima
a-h-abid asked this question in Q&A
Discussion options

You must be logged in to vote

Why not look at this value instead of this->shouldStopJob?
app('queue.worker')->shouldQuit

I'd be happy to help.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@a-h-abid
Comment options

Answer selected by a-h-abid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants