Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.cpp @ 1368:b22ba8c5edbe query-retrieve
query retrieve
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 May 2015 17:54:34 +0200 |
parents | 479e31b13de5 |
children | d710ea64f0fd |
comparison
equal
deleted
inserted
replaced
1367:fe6e5a9f1ea2 | 1368:b22ba8c5edbe |
---|---|
76 compressionEnabled_(false), | 76 compressionEnabled_(false), |
77 provider_(*this), | 77 provider_(*this), |
78 dicomCache_(provider_, DICOM_CACHE_SIZE), | 78 dicomCache_(provider_, DICOM_CACHE_SIZE), |
79 scheduler_(Configuration::GetGlobalIntegerParameter("LimitJobs", 10)), | 79 scheduler_(Configuration::GetGlobalIntegerParameter("LimitJobs", 10)), |
80 plugins_(NULL), | 80 plugins_(NULL), |
81 pluginsManager_(NULL) | 81 pluginsManager_(NULL), |
82 queryRetrieveArchive_(Configuration::GetGlobalIntegerParameter("QueryRetrieveSize", 10)) | |
82 { | 83 { |
83 scu_.SetLocalApplicationEntityTitle(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC")); | 84 scu_.SetLocalApplicationEntityTitle(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC")); |
84 | 85 |
85 uint64_t s = Configuration::GetGlobalIntegerParameter("DicomAssociationCloseDelay", 5); // In seconds | 86 uint64_t s = Configuration::GetGlobalIntegerParameter("DicomAssociationCloseDelay", 5); // In seconds |
86 scu_.SetMillisecondsBeforeClose(s * 1000); // Milliseconds are expected here | 87 scu_.SetMillisecondsBeforeClose(s * 1000); // Milliseconds are expected here |