comparison OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp @ 4902:df86d2505df8

Orthanc 1.9.8 is now known as Orthanc 1.10.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 20 Feb 2022 16:57:43 +0100
parents 6eff25f70121
children 48b53ac404d9
comparison
equal deleted inserted replaced
4901:0bb73ef7cf07 4902:df86d2505df8
144 transcode = false; 144 transcode = false;
145 } 145 }
146 146
147 { 147 {
148 OrthancConfiguration::ReaderLock lock; 148 OrthancConfiguration::ReaderLock lock;
149 loaderThreads = lock.GetConfiguration().GetUnsignedIntegerParameter(CONFIG_LOADER_THREADS, 0); // New in Orthanc 1.9.8 149 loaderThreads = lock.GetConfiguration().GetUnsignedIntegerParameter(CONFIG_LOADER_THREADS, 0); // New in Orthanc 1.10.0
150 } 150 }
151 151
152 } 152 }
153 153
154 154
629 job->SetTranscode(GetTransferSyntax(call.GetArgument(TRANSCODE, ""))); 629 job->SetTranscode(GetTransferSyntax(call.GetArgument(TRANSCODE, "")));
630 } 630 }
631 631
632 { 632 {
633 OrthancConfiguration::ReaderLock lock; 633 OrthancConfiguration::ReaderLock lock;
634 unsigned int loaderThreads = lock.GetConfiguration().GetUnsignedIntegerParameter(CONFIG_LOADER_THREADS, 0); // New in Orthanc 1.9.8 634 unsigned int loaderThreads = lock.GetConfiguration().GetUnsignedIntegerParameter(CONFIG_LOADER_THREADS, 0); // New in Orthanc 1.10.0
635 job->SetLoaderThreads(loaderThreads); 635 job->SetLoaderThreads(loaderThreads);
636 } 636 }
637 637
638 SubmitJob(call.GetOutput(), context, job, 0 /* priority */, 638 SubmitJob(call.GetOutput(), context, job, 0 /* priority */,
639 true /* synchronous */, id + ".zip"); 639 true /* synchronous */, id + ".zip");