diff options
Diffstat (limited to 'python/knot_resolver/datamodel/defer_schema.py')
-rw-r--r-- | python/knot_resolver/datamodel/defer_schema.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/knot_resolver/datamodel/defer_schema.py b/python/knot_resolver/datamodel/defer_schema.py index 40de0401..2e1992f8 100644 --- a/python/knot_resolver/datamodel/defer_schema.py +++ b/python/knot_resolver/datamodel/defer_schema.py @@ -1,4 +1,5 @@ from knot_resolver.utils.modeling import ConfigSchema +from knot_resolver.datamodel.types import TimeUnit class DeferSchema(ConfigSchema): @@ -7,6 +8,8 @@ class DeferSchema(ConfigSchema): --- enabled: Use request prioritization. + log_period: Minimal time between two log messages, or '0s' to disable. """ enabled: bool = True + log_period: TimeUnit = TimeUnit("0s") |