improve type specification

This commit is contained in:
Peter Bieringer
2025-12-11 22:44:19 +01:00
parent ebdd3aac70
commit b51dcccd19

View File

@@ -600,7 +600,7 @@ This is an automated message. Please do not reply.""",
("profiling_per_request_min_duration", { ("profiling_per_request_min_duration", {
"value": "3", "value": "3",
"help": "log profiling data per request minimum duration (seconds)", "help": "log profiling data per request minimum duration (seconds)",
"type": int}), "type": positive_int}),
("profiling_per_request_header", { ("profiling_per_request_header", {
"value": "False", "value": "False",
"help": "Log profiling request body (if passing minimum duration)", "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", { ("profiling_per_request_method_interval", {
"value": "600", "value": "600",
"help": "log profiling data per request method interval (seconds)", "help": "log profiling data per request method interval (seconds)",
"type": int}), "type": positive_int}),
("profiling_top_x_functions", { ("profiling_top_x_functions", {
"value": "10", "value": "10",
"help": "log profiling top X functions (limit)", "help": "log profiling top X functions (limit)",
"type": int}), "type": positive_int}),
("mask_passwords", { ("mask_passwords", {
"value": "True", "value": "True",
"help": "mask passwords in logs", "help": "mask passwords in logs",