Skip to content
Snippets Groups Projects
Verified Commit ac3f90d0 authored by Petr Špaček's avatar Petr Špaček
Browse files

detect_time_jump: remove forgotten debug print

fixup! module: detect discontinuous jumps in the system time
parent 2939bd78
Branches
Tags
1 merge request!417detect_time_jump: remove forgotten debug print
Pipeline #28202 passed with stages
in 2 minutes and 37 seconds
......@@ -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."
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment