diff options
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 |