mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-14 21:33:58 +02:00
Further EPP server optimizations
This commit is contained in:
parent
2eb25f4b78
commit
0c6cb72852
1 changed files with 11 additions and 2 deletions
|
@ -54,12 +54,21 @@ $server->set([
|
||||||
'log_level' => SWOOLE_LOG_INFO,
|
'log_level' => SWOOLE_LOG_INFO,
|
||||||
'worker_num' => swoole_cpu_num() * 4,
|
'worker_num' => swoole_cpu_num() * 4,
|
||||||
'pid_file' => $c['epp_pid'],
|
'pid_file' => $c['epp_pid'],
|
||||||
'tcp_user_timeout' => 10,
|
|
||||||
'max_request' => 1000,
|
'max_request' => 1000,
|
||||||
'open_tcp_nodelay' => true,
|
|
||||||
'max_conn' => 1024,
|
'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_check_interval' => 60,
|
||||||
'heartbeat_idle_time' => 120,
|
'heartbeat_idle_time' => 120,
|
||||||
|
'buffer_output_size' => 2 * 1024 * 1024,
|
||||||
|
'send_yield' => true,
|
||||||
'open_ssl' => true,
|
'open_ssl' => true,
|
||||||
'ssl_cert_file' => $c['ssl_cert'],
|
'ssl_cert_file' => $c['ssl_cert'],
|
||||||
'ssl_key_file' => $c['ssl_key'],
|
'ssl_key_file' => $c['ssl_key'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue