comparison OrthancServer/ServerIndex.cpp @ 810:401a9633e492

configuration into a namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 16:47:56 +0200
parents ec69658b031b
children a811bdf8b8eb
comparison
equal deleted inserted replaced
809:8ce2f69436ca 810:401a9633e492
1495 } 1495 }
1496 1496
1497 1497
1498 void ServerIndex::UnstableResourcesMonitorThread(ServerIndex* that) 1498 void ServerIndex::UnstableResourcesMonitorThread(ServerIndex* that)
1499 { 1499 {
1500 int stableAge = GetGlobalIntegerParameter("StableAge", 60); 1500 int stableAge = Configuration::GetGlobalIntegerParameter("StableAge", 60);
1501 if (stableAge <= 0) 1501 if (stableAge <= 0)
1502 { 1502 {
1503 stableAge = 60; 1503 stableAge = 60;
1504 } 1504 }
1505 1505