diff OrthancServer/Sources/main.cpp @ 4613:2684544ff03c db-changes

maximum number of database retries for writer collisions is now set by the plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Apr 2021 10:46:12 +0200
parents de5e6b04442d
children 95ffe3b6ef7c
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp	Wed Apr 07 10:41:39 2021 +0200
+++ b/OrthancServer/Sources/main.cpp	Thu Apr 08 10:46:12 2021 +0200
@@ -1354,6 +1354,7 @@
       {
         plugins_->SetServerContext(context_);
         context_.SetPlugins(*plugins_);
+        context_.GetIndex().SetMaxDatabaseRetries(plugins_->GetMaxDatabaseRetries());
       }
 #endif
     }