Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Add signal handling to queue worker for clean shutdown #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egerlach
Copy link

This allows the worker thread to shut down cleanly if sent a SIGTERM.

@dereuromark
Copy link

Interesting. I think I will include this then in my branch. PS: "protected" should be enough 😄

@egerlach
Copy link
Author

Want me to fix it up?

@dereuromark
Copy link

I will do it manually. Especially since I use Cake2.3 (this still is 1.3 if I am not mistaken).

@dereuromark
Copy link

Please check if its implemented correctly: https://github.com/dereuromark/cakephp-queue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants