summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukáš Ondráček <lukas.ondracek@nic.cz>2025-01-13 13:27:25 +0100
committerLukáš Ondráček <lukas.ondracek@nic.cz>2025-01-13 13:41:06 +0100
commit01fec4bf13017d4c790d6447a0747c9cc267177f (patch)
treedf50c257c05fef5b4417dd1afaef68f72b67f507
parentdaemon/defer: redesign UDP and non-UDP phase transition (diff)
downloadknot-resolver-01fec4bf13017d4c790d6447a0747c9cc267177f.tar.xz
knot-resolver-01fec4bf13017d4c790d6447a0747c9cc267177f.zip
daemon/defer: disable by default
-rw-r--r--doc/_static/config.schema.json4
-rw-r--r--doc/user/config-defer.rst2
-rw-r--r--python/knot_resolver/datamodel/defer_schema.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/_static/config.schema.json b/doc/_static/config.schema.json
index 0d91be05..1aa80cf9 100644
--- a/doc/_static/config.schema.json
+++ b/doc/_static/config.schema.json
@@ -1720,7 +1720,7 @@
"enabled": {
"type": "boolean",
"description": "Use request prioritization.",
- "default": true
+ "default": false
},
"log-period": {
"type": "string",
@@ -1730,7 +1730,7 @@
}
},
"default": {
- "enabled": true,
+ "enabled": false,
"log_period": "0s"
}
},
diff --git a/doc/user/config-defer.rst b/doc/user/config-defer.rst
index 8b09c84d..b32c9a19 100644
--- a/doc/user/config-defer.rst
+++ b/doc/user/config-defer.rst
@@ -37,7 +37,7 @@ The detailed configuration is printed by ``defer`` group on ``info`` level on st
.. option:: defer/enabled: true|false
- :default: true
+ :default: false
Enable request prioritization.
diff --git a/python/knot_resolver/datamodel/defer_schema.py b/python/knot_resolver/datamodel/defer_schema.py
index 2e1992f8..38301e55 100644
--- a/python/knot_resolver/datamodel/defer_schema.py
+++ b/python/knot_resolver/datamodel/defer_schema.py
@@ -11,5 +11,5 @@ class DeferSchema(ConfigSchema):
log_period: Minimal time between two log messages, or '0s' to disable.
"""
- enabled: bool = True
+ enabled: bool = False
log_period: TimeUnit = TimeUnit("0s")