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:
@@ -1,13 +1,20 @@
|
|||||||
verbose=true
|
|
||||||
verbose_level=INFORMATION
|
|
||||||
port=9090
|
port=9090
|
||||||
|
|
||||||
|
#Socket and timeout
|
||||||
max_concurrent_connections=100
|
max_concurrent_connections=100
|
||||||
keep_alive_timeout=2
|
|
||||||
max_keep_alive_requests=-1
|
|
||||||
max_tcp_clients=100
|
max_tcp_clients=100
|
||||||
socket_timeout=30
|
socket_timeout=30
|
||||||
socket_recv_timeout=5
|
socket_recv_timeout=5
|
||||||
|
|
||||||
|
#Persistent connections
|
||||||
|
keep_alive_timeout=2
|
||||||
|
max_keep_alive_requests=-1
|
||||||
|
|
||||||
|
#SSL
|
||||||
is_secure=false
|
is_secure=false
|
||||||
secure_certificate=ca.crt
|
secure_certificate=ca.crt
|
||||||
secure_certificate_key=ca.key
|
secure_certificate_key=ca.key
|
||||||
|
|
||||||
|
#Debug
|
||||||
|
verbose=true
|
||||||
|
verbose_level=INFORMATION
|
||||||
|
|||||||
Reference in New Issue
Block a user