summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'python/knot_resolver/datamodel/templates/rate_limiting.lua.j2')
-rw-r--r--python/knot_resolver/datamodel/templates/rate_limiting.lua.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2 b/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2
index c25b5bb1..4f9547f5 100644
--- a/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2
+++ b/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2
@@ -6,5 +6,7 @@ assert(C.ratelimiting_init(
{{ cfg.rate_limiting.capacity }},
{{ cfg.rate_limiting.instant_limit }},
{{ cfg.rate_limiting.rate_limit }},
- {{ cfg.rate_limiting.slip }}) == 0)
+ {{ cfg.rate_limiting.slip }},
+ {{ cfg.rate_limiting.log_period }},
+ {{ boolean(cfg.rate_limiting.dry_run) }}) == 0)
{%- endif %}