Set keep_alive_timeout to 2, this way for single threaded case, browser does not wait too much to start the websocket connection.

Set max_keep_alive_requests to -1, to allow unlimited number of requests within a same websocket connection.
This commit is contained in:
Jocelyn Fiat
2017-10-18 23:41:03 +02:00
parent 74121be470
commit a1b4337438

View File

@@ -1,13 +1,20 @@
verbose=true
verbose_level=INFORMATION
port=9090
#Socket and timeout
max_concurrent_connections=100
keep_alive_timeout=2
max_keep_alive_requests=-1
max_tcp_clients=100
socket_timeout=30
socket_recv_timeout=5
#Persistent connections
keep_alive_timeout=2
max_keep_alive_requests=-1
#SSL
is_secure=false
secure_certificate=ca.crt
secure_certificate_key=ca.key
#Debug
verbose=true
verbose_level=INFORMATION