diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-08-21 14:14:26 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-08-21 14:14:26 +0200 |
commit | f4305163b032b31850ec70751dbf4e080a411ee7 (patch) | |
tree | c17f2d92bc63fa363332deef2428893a500200c2 /modules | |
parent | Merge branch 'manager-mypy-fix' into 'master' (diff) | |
download | knot-resolver-f4305163b032b31850ec70751dbf4e080a411ee7.tar.xz knot-resolver-f4305163b032b31850ec70751dbf4e080a411ee7.zip |
modules/serve_stale: drop the unused arguments again
This should fix the lint:other CI. Forgotten in 39f4b5af72f3a.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/serve_stale/serve_stale.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/serve_stale/serve_stale.lua b/modules/serve_stale/serve_stale.lua index 7aa2ee78..d1b18f90 100644 --- a/modules/serve_stale/serve_stale.lua +++ b/modules/serve_stale/serve_stale.lua @@ -8,7 +8,7 @@ local ffi = require('ffi') M.timeout = 3*sec M.callback = ffi.cast("kr_stale_cb", - function (ttl, _, _, qry) + function (ttl) --, name, type, qry) --log_debug(ffi.C.SRVSTALE, ' => called back with TTL: ' .. tostring(ttl)) if ttl + 3600 * 24 > 0 then -- at most one day stale return 1 |