Can I get a signal within PHP HTTP worker on destroying intention? #1362
-
Hi guys, I'm searching for a way how to gracefully finish the PHP worker on destroying/killing intention (e.g. close connections etc) Imagine I have such a configuration
When a worker reaches rr version 2.10.7 (build time: 2022-07-14T09:02:31+0000, go1.18.4), OS: linux, arch: amd64 Here is an example of an interception of signals
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey @7krasov-casafari 👋🏻 But I guess you should update to the latest version to have that. |
Beta Was this translation helpful? Give feedback.
Hey @7krasov-casafari 👋🏻
On destroy, RR sends a stop command via our protocol. We don't send signals. So, the worker finishes gracefully, allowing all destructors to run.
But I guess you should update to the latest version to have that.