Преглед на файлове

add explanation to default value

Peter Bieringer преди 2 месеца
родител
ревизия
e66d83cd84
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      DOCUMENTATION.md
  2. 1 1
      config
  3. 1 1
      radicale/config.py

+ 2 - 2
DOCUMENTATION.md

@@ -797,9 +797,9 @@ Default: `8`
 
 The maximum size of the request body. (bytes)
 
-Default: `100000000`
+Default: `100000000` (100 Mbyte)
 
-In case of using a reverse proxy in front of check also there related option
+In case of using a reverse proxy in front of check also there related option.
 
 ##### timeout
 

+ 1 - 1
config

@@ -21,7 +21,7 @@
 # Max parallel connections
 #max_connections = 8
 
-# Max size of request body (bytes)
+# Max size of request body (bytes), default: 100 Mbyte
 # In case of using a reverse proxy in front of check also there related option
 #max_content_length = 100000000
 

+ 1 - 1
radicale/config.py

@@ -162,7 +162,7 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
             "type": positive_int}),
         ("max_content_length", {
             "value": "100000000",
-            "help": "maximum size of request body in bytes",
+            "help": "maximum size of request body in bytes (default: 100 Mbyte)",
             "type": positive_int}),
         ("timeout", {
             "value": "30",