mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-13 09:54:27 -05:00
suppressed debug messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d6bb8f5f00
commit
971431bfa1
@ -636,10 +636,14 @@ void FileIndexMonitor::hashFiles(const std::vector<DirContentToHash>& to_hash)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Save the hashing result every 60 seconds, so has to save what is already hashed.
|
// Save the hashing result every 60 seconds, so has to save what is already hashed.
|
||||||
|
#ifdef FIM_DEBUG
|
||||||
std::cerr << "size - last_save_size = " << size - last_save_size << ", max=" << MAX_SIZE_WITHOUT_SAVING << std::endl ;
|
std::cerr << "size - last_save_size = " << size - last_save_size << ", max=" << MAX_SIZE_WITHOUT_SAVING << std::endl ;
|
||||||
|
#endif
|
||||||
if(size > last_save_size + MAX_SIZE_WITHOUT_SAVING)
|
if(size > last_save_size + MAX_SIZE_WITHOUT_SAVING)
|
||||||
{
|
{
|
||||||
|
#ifdef FIM_DEBUG
|
||||||
cb->notifyHashingInfo("Saving file index...") ;
|
cb->notifyHashingInfo("Saving file index...") ;
|
||||||
|
#endif
|
||||||
#ifdef WINDOWS_SYS
|
#ifdef WINDOWS_SYS
|
||||||
Sleep(1000) ;
|
Sleep(1000) ;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user