modify
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user