Skip to content

Commit

Permalink
Merge !1596: modules/serve_stale: drop the unused arguments again
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Aug 21, 2024
2 parents 061ecdb + f430516 commit 900c018
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 900c018

Please sign in to comment.