From 1493bebc7646591073c407c3d02812a2e71f4f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=94=81?= <52o@qq52o.cn> Date: Sat, 11 Jul 2020 03:04:03 +0800 Subject: [PATCH] [PHP] Update config for simps (#3104) --- php/simps/config/servers.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php/simps/config/servers.php b/php/simps/config/servers.php index 5907b46f48b..f2bace40101 100644 --- a/php/simps/config/servers.php +++ b/php/simps/config/servers.php @@ -18,7 +18,9 @@ 'callbacks' => [ ], 'settings' => [ - 'worker_num' => swoole_cpu_num() * 2, + 'worker_num' => swoole_cpu_num() * 2, + 'open_tcp_nodelay' => true, + 'enable_reuse_port' => true, 'enable_coroutine' => false, 'only_simple_http' => true, ],