diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index db475b40..16d54177 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -61,7 +61,7 @@ class OnWorkerStart extends Callback public function onTaskSignal(Server $server, int $workerId) { go(function () use ($server, $workerId) { - $sigkill = Coroutine::waitSignal(SIGTERM | SIGKILL | SIGUSR2 | SIGUSR1, -1); + $sigkill = Coroutine::waitSignal( SIGKILL | SIGUSR2 | SIGUSR1, -1); if ($sigkill !== false) { while (Snowflake::app()->isRun()) { sleep(1);