]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
detect_time_jump: remove forgotten debug print
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 11 Dec 2017 10:41:24 +0000 (11:41 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Mon, 11 Dec 2017 10:41:41 +0000 (11:41 +0100)
fixup! module: detect discontinuous jumps in the system time

modules/detect_time_jump/detect_time_jump.lua

index c43b8b5d79920c458fceeada569666ec464721b4..e236f06866cd4419914d910a3d95a7d80c924e0c 100644 (file)
@@ -14,7 +14,6 @@ local function check_time()
        local cache_timeshift = clear_time.walltime.sec * 1000 - clear_time.monotime
        local actual_timeshift = os.time() * 1000 - tonumber(ffi.C.kr_now())
        local time_diff = math.abs(cache_timeshift - actual_timeshift)
-       log("check_time, %d", time_diff)
        if time_diff > mod.threshold then
                log("Detected time change, clearing cache\n" ..
                "But what does that mean? It means your future hasn't been written yet."