diff OrthancServer/Sources/ServerIndex.cpp @ 5822:ca5622c27d6c attach-custom-data tip

merged find-refactoring -> attach-custom-data
author Alain Mazy <am@orthanc.team>
date Tue, 01 Oct 2024 16:01:50 +0200
parents 023a99146dd0 7c2b4fa94633
children
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp	Wed Sep 25 16:36:43 2024 +0200
+++ b/OrthancServer/Sources/ServerIndex.cpp	Tue Oct 01 16:01:50 2024 +0200
@@ -278,7 +278,7 @@
   {
     Logging::SetCurrentThreadName("DB-STATS");
 
-    static const unsigned int SLEEP_SECONDS = 60;
+    static const unsigned int SLEEP_SECONDS = 10;
 
     if (threadSleepGranularityMilliseconds > 1000)
     {
@@ -359,7 +359,8 @@
     done_(false),
     maximumStorageMode_(MaxStorageMode_Recycle),
     maximumStorageSize_(0),
-    maximumPatients_(0)
+    maximumPatients_(0),
+    readOnly_(readOnly)
   {
     SetTransactionContextFactory(new TransactionContextFactory(context));