♻️ kernel/sql/queue_history: refactor time.Now().Sub with time.Since (#17277)

This commit is contained in:
iliya
2026-03-21 12:27:47 +09:00
committed by GitHub
parent d3c78f75e7
commit 322477e282

View File

@@ -113,7 +113,7 @@ func FlushHistoryQueue() {
debug.FreeOSMemory()
}
elapsed := time.Now().Sub(start).Milliseconds()
elapsed := time.Since(start).Milliseconds()
if 7000 < elapsed {
logging.LogInfof("database history op tx [%dms]", elapsed)
}