From 99114979b8842e7c19bf1b60424320292147fc71 Mon Sep 17 00:00:00 2001 From: Florent De'Neve Date: Mon, 6 May 2024 16:08:34 +0100 Subject: [PATCH] Update log line for commit lock acquisition over 5ms https://github.com/Expensify/Bedrock/pull/1708/files#r1591019203 --- sqlitecluster/SQLite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlitecluster/SQLite.cpp b/sqlitecluster/SQLite.cpp index 7d8627d3f..d1cfaa214 100644 --- a/sqlitecluster/SQLite.cpp +++ b/sqlitecluster/SQLite.cpp @@ -609,7 +609,7 @@ bool SQLite::prepare(uint64_t* transactionID, string* transactionhash) { auto start = STimeNow(); _sharedData.commitLock.lock(); auto end = STimeNow(); - if (end - start > 5'000'000) { + if (end - start > 5'000) { SINFO("Waited " << (end - start) << "us for commit lock."); } _sharedData._commitLockTimer.start("SHARED");