From cac822603b84e71c0e3944f6abd5a4e3378e6f5b Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 20 Sep 2021 00:55:23 +0800 Subject: [PATCH] 111 --- http-server/ServerCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/ServerCommand.php b/http-server/ServerCommand.php index 55e92f1d..758f1073 100644 --- a/http-server/ServerCommand.php +++ b/http-server/ServerCommand.php @@ -90,7 +90,7 @@ class ServerCommand extends Command } Coroutine::set([ 'hook_flags' => SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION, - 'enable_deadlock_check' => false, + 'enable_deadlock_check' => TRUE, 'exit_condition' => function () { return Coroutine::stats()['coroutine_num'] === 0; }