This commit is contained in:
as2252258@163.com
2021-02-27 04:41:07 +08:00
parent 39b1224d91
commit b297b38a15
+1
View File
@@ -46,6 +46,7 @@ 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) {