Mercurial > hg > orthanc
diff OrthancServer/Plugins/Engine/OrthancPluginDatabase.h @ 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 | 176bc05f85f4 |
children | 4dd50c4b985a |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h Wed Jan 10 15:26:10 2024 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h Mon Jan 15 18:25:08 2024 +0100 @@ -109,6 +109,10 @@ return dbCapabilities_; } + virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE + { + throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4 + } void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer); };