Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerIndex.cpp @ 5455:176bc05f85f4 pg-transactions
DB: new Capabilities class to manage future new methods from DB plugins + Added IncrementGlobalProperty
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 07 Dec 2023 12:04:11 +0100 |
parents | 9ffd6d18daf3 |
children | 4b51cf06b697 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp Wed Dec 06 14:20:33 2023 +0100 +++ b/OrthancServer/Sources/ServerIndex.cpp Thu Dec 07 12:04:11 2023 +0100 @@ -331,7 +331,7 @@ // execution of Orthanc StandaloneRecycling(maximumStorageMode_, maximumStorageSize_, maximumPatients_); - if (HasFlushToDisk()) + if (GetDatabaseCapabilities().HasFlushToDisk()) { flushThread_ = boost::thread(FlushThread, this, threadSleepGranularityMilliseconds); }