This commit is contained in:
as2252258@163.com
2021-02-27 04:43:30 +08:00
parent b03c434207
commit 9868a6e219
+2
View File
@@ -46,6 +46,8 @@ class OnWorkerStart extends Callback
if (!empty($get_name) && !Snowflake::isMac()) {
swoole_set_process_name($get_name);
}
// Coroutine\go(function ($server, $worker_id) {
// $sigkill = Coroutine::waitSignal(SIGTERM | SIGKILL | SIGUSR2 | SIGUSR1);
// if ($sigkill !== false) {