This commit is contained in:
as2252258@163.com
2021-02-27 03:28:14 +08:00
parent f849348858
commit 4a0cd46f56
+1
View File
@@ -64,6 +64,7 @@ class OnWorkerStart extends Callback
public function onTaskSignal(Server $server, int $workerId)
{
try {
var_dump(Coroutine::waitPid($server->worker_id));
$sigkill = Coroutine::waitSignal(SIGTERM | SIGKILL | SIGUSR2 | SIGUSR1);
var_dump($sigkill);
if ($sigkill !== false) {