Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 3813:aaaa442bfe39 transcoding
moving SetOverwriteInstances from ServerIndex to ServerContext
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Apr 2020 14:03:33 +0200 |
parents | 9fe1d64a748c |
children | 023b2a9f3aa1 |
comparison
equal
deleted
inserted
replaced
3812:abd3a1d114c0 | 3813:aaaa442bfe39 |
---|---|
1305 | 1305 |
1306 context.SetCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("StorageCompression", false)); | 1306 context.SetCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("StorageCompression", false)); |
1307 context.SetStoreMD5ForAttachments(lock.GetConfiguration().GetBooleanParameter("StoreMD5ForAttachments", true)); | 1307 context.SetStoreMD5ForAttachments(lock.GetConfiguration().GetBooleanParameter("StoreMD5ForAttachments", true)); |
1308 | 1308 |
1309 // New option in Orthanc 1.4.2 | 1309 // New option in Orthanc 1.4.2 |
1310 context.GetIndex().SetOverwriteInstances(lock.GetConfiguration().GetBooleanParameter("OverwriteInstances", false)); | 1310 context.SetOverwriteInstances(lock.GetConfiguration().GetBooleanParameter("OverwriteInstances", false)); |
1311 | 1311 |
1312 try | 1312 try |
1313 { | 1313 { |
1314 context.GetIndex().SetMaximumPatientCount(lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumPatientCount", 0)); | 1314 context.GetIndex().SetMaximumPatientCount(lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumPatientCount", 0)); |
1315 } | 1315 } |