Raise default limits

This commit is contained in:
Unrud 2018-04-29 21:20:23 +02:00
parent b25e1f23c4
commit 3d2ffe0c8e
2 changed files with 4 additions and 4 deletions

4
config
View File

@ -27,10 +27,10 @@
#max_connections = 20 #max_connections = 20
# Max size of request body (bytes) # Max size of request body (bytes)
#max_content_length = 10000000 #max_content_length = 100000000
# Socket timeout (seconds) # Socket timeout (seconds)
#timeout = 10 #timeout = 30
# SSL flag, enable HTTPS protocol # SSL flag, enable HTTPS protocol
#ssl = False #ssl = False

View File

@ -73,11 +73,11 @@ INITIAL_CONFIG = OrderedDict([
"help": "maximum number of parallel connections", "help": "maximum number of parallel connections",
"type": positive_int}), "type": positive_int}),
("max_content_length", { ("max_content_length", {
"value": "10000000", "value": "100000000",
"help": "maximum size of request body in bytes", "help": "maximum size of request body in bytes",
"type": positive_int}), "type": positive_int}),
("timeout", { ("timeout", {
"value": "10", "value": "30",
"help": "socket timeout", "help": "socket timeout",
"type": positive_int}), "type": positive_int}),
("ssl", { ("ssl", {