Parcourir la source

Raise default limits

Unrud il y a 7 ans
Parent
commit
3d2ffe0c8e
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      config
  2. 2 2
      radicale/config.py

+ 2 - 2
config

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

+ 2 - 2
radicale/config.py

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