delay: delay_on_error only for 5xx, auth_delay for 401 in case login/user is missing

This commit is contained in:
Peter Bieringer
2026-03-31 08:33:44 +02:00
parent 87cd663914
commit 3ab7e2049f
4 changed files with 17 additions and 13 deletions

View File

@@ -172,8 +172,8 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"help": "maximum size of request body in bytes (default: 100 Mbyte)",
"type": positive_int}),
("delay_on_error", {
"value": "0.01",
"help": "base delay in case of error response (seconds)",
"value": "1",
"help": "base delay in case of error 5xx response (seconds)",
"type": positive_float}),
("max_resource_size", {
"value": "10000000",