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, ],