Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp @ 5493:b3ebe249ed5b pg-transactions
At startup, when using a database plugin, display the latency to access the DB
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 15 Jan 2024 18:25:08 +0100 |
parents | dceed5e3d6a9 |
children | 4dd50c4b985a |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Wed Jan 10 15:26:10 2024 +0100 +++ b/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Mon Jan 15 18:25:08 2024 +0100 @@ -1336,7 +1336,8 @@ false, /* hasRevisionsSupport TODO: implement revisions in SQLite */ true, /* hasLabelsSupport */ false, /* hasAtomicIncrementGlobalProperty */ - false /* hasUpdateAndGetStatistics */) + false, /* hasUpdateAndGetStatistics */ + false /* hasMeasureLatency */) { db_.Open(path); } @@ -1350,7 +1351,8 @@ false, /* hasRevisionsSupport TODO: implement revisions in SQLite */ true, /* hasLabelsSupport */ false, /* hasAtomicIncrementGlobalProperty */ - false /* hasUpdateAndGetStatistics */) + false, /* hasUpdateAndGetStatistics */ + false /* hasMeasureLatency */) { db_.OpenInMemory(); }