reduce default parallel connections to 8

This commit is contained in:
Unrud 2018-08-28 16:19:48 +02:00
parent 8869b34470
commit 6c12b13ec1
2 changed files with 2 additions and 2 deletions

2
config
View File

@ -18,7 +18,7 @@
#hosts = 127.0.0.1:5232 #hosts = 127.0.0.1:5232
# Max parallel connections # Max parallel connections
#max_connections = 20 #max_connections = 8
# Max size of request body (bytes) # Max size of request body (bytes)
#max_content_length = 100000000 #max_content_length = 100000000

View File

@ -65,7 +65,7 @@ INITIAL_CONFIG = OrderedDict([
"aliases": ["-H", "--hosts"], "aliases": ["-H", "--hosts"],
"type": str}), "type": str}),
("max_connections", { ("max_connections", {
"value": "20", "value": "8",
"help": "maximum number of parallel connections", "help": "maximum number of parallel connections",
"type": positive_int}), "type": positive_int}),
("max_content_length", { ("max_content_length", {