changeset 3346:f509d3c6d570

increasing default value of QueryRetrieveSize to 100
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Apr 2019 08:26:29 +0200
parents f687e11aeb13
children ab17e8e94776
files OrthancServer/ServerContext.cpp Resources/Configuration.json
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Fri Apr 05 17:49:29 2019 +0200
+++ b/OrthancServer/ServerContext.cpp	Tue Apr 09 08:26:29 2019 +0200
@@ -245,7 +245,7 @@
       OrthancConfiguration::ReaderLock lock;
 
       queryRetrieveArchive_.reset(
-        new SharedArchive(lock.GetConfiguration().GetUnsignedIntegerParameter("QueryRetrieveSize", 10)));
+        new SharedArchive(lock.GetConfiguration().GetUnsignedIntegerParameter("QueryRetrieveSize", 100)));
       mediaArchive_.reset(
         new SharedArchive(lock.GetConfiguration().GetUnsignedIntegerParameter("MediaArchiveSize", 1)));
       defaultLocalAet_ = lock.GetConfiguration().GetStringParameter("DicomAet", "ORTHANC");
--- a/Resources/Configuration.json	Fri Apr 05 17:49:29 2019 +0200
+++ b/Resources/Configuration.json	Tue Apr 09 08:26:29 2019 +0200
@@ -397,7 +397,7 @@
   // Maximum number of query/retrieve DICOM requests that are
   // maintained by Orthanc. The least recently used requests get
   // deleted as new requests are issued.
-  "QueryRetrieveSize" : 10,
+  "QueryRetrieveSize" : 100,
 
   // When handling a C-Find SCP request, setting this flag to "true"
   // will enable case-sensitive match for PN value representation