add pcntl_signal_dispatch after job finish for php extension#485
add pcntl_signal_dispatch after job finish for php extension#485dimanzver wants to merge 9 commits intoyiisoft:masterfrom
Conversation
dimanzver
commented
Apr 27, 2023
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | add pcntl_signal_dispatch after job finish for php extension |
PR Summary
|
|
Look now - I reworked logic |
|
No need to change the package name |
|
@dimanzver i still don’t understand what problem is being solved. can you describe your problem in more detail? It would be better to include tests |
|
@s1lver If queue worker launched in kubernetes, on deploy kubernetes sends a SIGTERM signal to the worker process in old deployment. If worker didn`t processed this signal and still works, kubernetes sends a SIGKILL signal after 30 seconds (may be changed in |