Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4612:4982733a4e39 | 4613:2684544ff03c |
---|---|
1352 #if ORTHANC_ENABLE_PLUGINS == 1 | 1352 #if ORTHANC_ENABLE_PLUGINS == 1 |
1353 if (plugins_ != NULL) | 1353 if (plugins_ != NULL) |
1354 { | 1354 { |
1355 plugins_->SetServerContext(context_); | 1355 plugins_->SetServerContext(context_); |
1356 context_.SetPlugins(*plugins_); | 1356 context_.SetPlugins(*plugins_); |
1357 context_.GetIndex().SetMaxDatabaseRetries(plugins_->GetMaxDatabaseRetries()); | |
1357 } | 1358 } |
1358 #endif | 1359 #endif |
1359 } | 1360 } |
1360 | 1361 |
1361 ~ServerContextConfigurator() | 1362 ~ServerContextConfigurator() |