diff options
Diffstat (limited to 'python/knot_resolver/datamodel/templates/rate_limiting.lua.j2')
-rw-r--r-- | python/knot_resolver/datamodel/templates/rate_limiting.lua.j2 | 2 |
1 files changed, 1 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 4f9547f5..63f92125 100644 --- a/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2 +++ b/python/knot_resolver/datamodel/templates/rate_limiting.lua.j2 @@ -7,6 +7,6 @@ assert(C.ratelimiting_init( {{ cfg.rate_limiting.instant_limit }}, {{ cfg.rate_limiting.rate_limit }}, {{ cfg.rate_limiting.slip }}, - {{ cfg.rate_limiting.log_period }}, + {{ cfg.rate_limiting.log_period.millis() }}, {{ boolean(cfg.rate_limiting.dry_run) }}) == 0) {%- endif %} |