diff PostgreSQL/Plugins/StoragePlugin.cpp @ 269:567761f0c1ea

fix issue #151: support of retries in the storage area plugins to deal with multiple writers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Apr 2021 17:54:31 +0200
parents ece4663dedde
children 16aac0287485
line wrap: on
line diff
--- a/PostgreSQL/Plugins/StoragePlugin.cpp	Wed Apr 21 11:14:40 2021 +0200
+++ b/PostgreSQL/Plugins/StoragePlugin.cpp	Wed Apr 21 17:54:31 2021 +0200
@@ -59,8 +59,8 @@
     try
     {
       OrthancDatabases::PostgreSQLParameters parameters(postgresql);
-      OrthancDatabases::StorageBackend::Register
-        (context, new OrthancDatabases::PostgreSQLStorageArea(parameters, false /* don't clear database */));
+      OrthancDatabases::StorageBackend::Register(
+        context, new OrthancDatabases::PostgreSQLStorageArea(parameters, false /* don't clear database */));
     }
     catch (Orthanc::OrthancException& e)
     {