From e66d83cd849e4281426ad87ae960cfb0f50bbf98 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 11 Dec 2025 22:50:35 +0100 Subject: [PATCH] add explanation to default value --- DOCUMENTATION.md | 4 ++-- config | 2 +- radicale/config.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 0a8760df..5936147a 100644 --- a/DOCUMENTATION.md +++ b/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 diff --git a/config b/config index 75a314e8..bca1b4fa 100644 --- a/config +++ b/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 diff --git a/radicale/config.py b/radicale/config.py index 01e5d6f8..fb548042 100644 --- a/radicale/config.py +++ b/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",