Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqlitecluster/SQLite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ bool SQLite::read(const string& query, const map<string, Parameter>& params, SQR

// If we're not inside a transaction, this doesn't get added to our normal transaction timing.
// This log line will happen a lot. Let's log only when it takes more than 100ms to complete.
if (!_insideTransaction && _readElapsed > 100'000) {
if (!_insideTransaction && timeSpent > 100'000) {
SINFO("Read with auto-transaction timing info", {
{"totalTransactionElapsed", to_string(timeSpent / 1000)},
});
Expand Down
Loading