comparison OrthancServer/ServerIndex.cpp @ 2217:4f39ab2cb453

flush
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 12 Dec 2016 11:56:26 +0100
parents e3fd5bc429a2
children a3a65de1840f
comparison
equal deleted inserted replaced
2216:9a8fab016145 2217:4f39ab2cb453
372 if (count < sleep) 372 if (count < sleep)
373 { 373 {
374 continue; 374 continue;
375 } 375 }
376 376
377 Logging::Flush();
378
377 boost::mutex::scoped_lock lock(that->mutex_); 379 boost::mutex::scoped_lock lock(that->mutex_);
378 that->db_.FlushToDisk(); 380 that->db_.FlushToDisk();
379 count = 0; 381 count = 0;
380 } 382 }
381 383