-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.4] fix: stop worker if a database disconnection occured #19080
Conversation
fix: styleCI
fix spaces
refacto: add a $shouldStop property to force stopIfNecessary()
fix: remove useless use
Title please. |
I don't think we need a shouldStop and a shouldQuit. |
@taylorotwell the previous valid commit #96b465e only stop() the worker. |
Maybe a simple reconnect should do the trick... but if I reconnect on a job, other jobs still down |
Why not just use the existing shouldQuit variable? Why did you need to make a new one? |
The shouldQuit variable do a kill() and do not fire any event. |
fix issue #19072