diff --git a/radicale/config.py b/radicale/config.py index abe7e465..01e5d6f8 100644 --- a/radicale/config.py +++ b/radicale/config.py @@ -600,7 +600,7 @@ This is an automated message. Please do not reply.""", ("profiling_per_request_min_duration", { "value": "3", "help": "log profiling data per request minimum duration (seconds)", - "type": int}), + "type": positive_int}), ("profiling_per_request_header", { "value": "False", "help": "Log profiling request body (if passing minimum duration)", @@ -612,11 +612,11 @@ This is an automated message. Please do not reply.""", ("profiling_per_request_method_interval", { "value": "600", "help": "log profiling data per request method interval (seconds)", - "type": int}), + "type": positive_int}), ("profiling_top_x_functions", { "value": "10", "help": "log profiling top X functions (limit)", - "type": int}), + "type": positive_int}), ("mask_passwords", { "value": "True", "help": "mask passwords in logs",