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

Merge branch 'remove_devel_log' into 'master'

detect_time_jump: remove forgotten debug print

See merge request !417
parents 2939bd78 ac3f90d0
Branches
Tags
1 merge request!417detect_time_jump: remove forgotten debug print
Pipeline #28203 passed with stages
in 2 minutes and 52 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