Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 2069:fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Jul 2016 16:52:39 +0200 |
parents | b1291df2f780 |
children | 1824a02e0951 |
comparison
equal
deleted
inserted
replaced
2068:879f3be759ef | 2069:fabf7820d1f1 |
---|---|
1846 } | 1846 } |
1847 | 1847 |
1848 | 1848 |
1849 void ServerIndex::UnstableResourcesMonitorThread(ServerIndex* that) | 1849 void ServerIndex::UnstableResourcesMonitorThread(ServerIndex* that) |
1850 { | 1850 { |
1851 int stableAge = Configuration::GetGlobalIntegerParameter("StableAge", 60); | 1851 int stableAge = Configuration::GetGlobalUnsignedIntegerParameter("StableAge", 60); |
1852 if (stableAge <= 0) | 1852 if (stableAge <= 0) |
1853 { | 1853 { |
1854 stableAge = 60; | 1854 stableAge = 60; |
1855 } | 1855 } |
1856 | 1856 |