Further EPP server optimizations

This commit is contained in:
Pinga 2025-03-29 22:18:19 +02:00
parent 2eb25f4b78
commit 0c6cb72852

View file

@ -54,12 +54,21 @@ $server->set([
'log_level' => SWOOLE_LOG_INFO,
'worker_num' => swoole_cpu_num() * 4,
'pid_file' => $c['epp_pid'],
'tcp_user_timeout' => 10,
'max_request' => 1000,
'open_tcp_nodelay' => true,
'max_conn' => 1024,
'open_tcp_nodelay' => true,
'open_tcp_keepalive' => true,
'tcp_keepidle' => 30,
'tcp_keepinterval' => 10,
'tcp_keepcount' => 3,
'tcp_defer_accept' => true,
'tcp_fastopen' => true,
'tcp_user_timeout' => 30000,
'ssl_handshake_timeout' => 2,
'heartbeat_check_interval' => 60,
'heartbeat_idle_time' => 120,
'buffer_output_size' => 2 * 1024 * 1024,
'send_yield' => true,
'open_ssl' => true,
'ssl_cert_file' => $c['ssl_cert'],
'ssl_key_file' => $c['ssl_key'],