comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.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
comparison
equal deleted inserted replaced
5492:26877f4b306f 5493:b3ebe249ed5b
1090 serverIdentifier_(serverIdentifier), 1090 serverIdentifier_(serverIdentifier),
1091 dbCapabilities_(false, /* hasFlushToDisk */ 1091 dbCapabilities_(false, /* hasFlushToDisk */
1092 false, /* revision support is updated in open() */ 1092 false, /* revision support is updated in open() */
1093 false, /* hasLabelsSupport */ 1093 false, /* hasLabelsSupport */
1094 false, /* hasAtomicIncrementGlobalProperty */ 1094 false, /* hasAtomicIncrementGlobalProperty */
1095 false /* hasUpdateAndGetStatistics */) 1095 false, /* hasUpdateAndGetStatistics */
1096 false /* hasMeasureLatency */)
1097
1096 { 1098 {
1097 CLOG(INFO, PLUGINS) << "Identifier of this Orthanc server for the global properties " 1099 CLOG(INFO, PLUGINS) << "Identifier of this Orthanc server for the global properties "
1098 << "of the custom database: \"" << serverIdentifier << "\""; 1100 << "of the custom database: \"" << serverIdentifier << "\"";
1099 1101
1100 if (backendSize >= sizeof(backend_)) 1102 if (backendSize >= sizeof(backend_))