diff Resources/Configuration.json @ 3165:1fe524e211af

New configuration option: "SaveJobs" to specify whether jobs are stored in the database
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Jan 2019 18:24:13 +0100
parents 94a4f75cc746
children 8ea7c4546c3a
line wrap: on
line diff
--- a/Resources/Configuration.json	Thu Jan 24 18:06:13 2019 +0100
+++ b/Resources/Configuration.json	Thu Jan 24 18:24:13 2019 +0100
@@ -443,6 +443,15 @@
   // REST API) and should be avoided for non-developers.
   "JobsHistorySize" : 10,
 
+  // Whether to save the jobs into the Orthanc database. If this
+  // option is set to "true", the pending/running/completed jobs are
+  // automatically reloaded from the database if Orthanc is stopped
+  // then restarted (except if the "--no-jobs" command-line argument
+  // is specified). This option should be set to "false" if multiple
+  // Orthanc servers are using the same database (e.g. if PostgreSQL
+  // or MariaDB/MySQL is used).
+  "SaveJobs" : true,
+
   // Specifies how Orthanc reacts when it receives a DICOM instance
   // whose SOPInstanceUID is already stored. If set to "true", the new
   // instance replaces the old one. If set to "false", the new