You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,3 +161,9 @@ messages are received from a set of queues in CakeSQS. This is an example
161
161
The functions registered to handle jobs will receive the message body from the queue after decoding it using `json_decode`.
162
162
163
163
IMPORTANT: return true to delete the message upon processing, false to leave the message in the queue and re - process later
164
+
165
+
## Kill worker softly with SIGHUP
166
+
167
+
To kill a long lived worker shell in the middle of the iterations loop, you can send SIGHUP by calling `kill -1 PID` on the commandline (PID is the process Id of your running worker shell).
168
+
169
+
This will cause the current iteration to finish and stop the worker afterwards.
0 commit comments