Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 744:ec69658b031b
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Mar 2014 10:46:59 +0100 |
parents | 696dbb4fd390 |
children | 67e6400fca03 401a9633e492 |
comparison
equal
deleted
inserted
replaced
743:fd36c80f096f | 744:ec69658b031b |
---|---|
253 { | 253 { |
254 unsigned int sleep; | 254 unsigned int sleep; |
255 | 255 |
256 try | 256 try |
257 { | 257 { |
258 boost::mutex::scoped_lock lock(that->mutex_); | |
258 std::string sleepString = that->db_->GetGlobalProperty(GlobalProperty_FlushSleep); | 259 std::string sleepString = that->db_->GetGlobalProperty(GlobalProperty_FlushSleep); |
259 sleep = boost::lexical_cast<unsigned int>(sleepString); | 260 sleep = boost::lexical_cast<unsigned int>(sleepString); |
260 } | 261 } |
261 catch (boost::bad_lexical_cast&) | 262 catch (boost::bad_lexical_cast&) |
262 { | 263 { |