Skip to content

Commit

Permalink
modules/serve_stale: drop the unused arguments again
Browse files Browse the repository at this point in the history
This should fix the lint:other CI.  Forgotten in 39f4b5a.
  • Loading branch information
vcunat committed Aug 21, 2024
1 parent 061ecdb commit f430516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/serve_stale/serve_stale.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f430516

Please sign in to comment.