mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
a little temporary fix concerning the lack of multithread support
This commit is contained in:
parent
225c2d3a7c
commit
d49f24c061
@ -30,7 +30,7 @@ struct rfc3161_option {
|
||||
};
|
||||
|
||||
static struct rfc3161_option rfc3161_options[] = {
|
||||
{"num_threads", HTTP_OPTIONS, "50"},
|
||||
{"num_threads", HTTP_OPTIONS, "1"},
|
||||
{"run_as_user", HTTP_OPTIONS, NULL},
|
||||
{"throttle", HTTP_OPTIONS, NULL},
|
||||
{"enable_keep_alive", HTTP_OPTIONS, "no"},
|
||||
|
@ -15,8 +15,8 @@ listening_ports = 127.0.0.1:2020
|
||||
# Allows clients to reuse TCP connection for subsequent HTTP requests, which improves performance.
|
||||
enable_keep_alive = no
|
||||
|
||||
# Number of worker threads.
|
||||
num_threads = 1
|
||||
# Number of worker threads. don't set, crashes if other than 1 (default)
|
||||
#num_threads = 10
|
||||
|
||||
# Switch to given user credentials after startup.
|
||||
# Required to run on privileged ports and not be run as root.
|
||||
|
Loading…
Reference in New Issue
Block a user