mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed delay in file checking that would cause excessively long file update cycle
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
78955270e2
commit
a48dc86fb8
@ -555,11 +555,14 @@ void FileIndexMonitor::updateCycle()
|
||||
{
|
||||
/* sleep a bit for each loop */
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
#ifndef WINDOWS_SYS
|
||||
usleep(100000); /* 1/10 sec */
|
||||
#else
|
||||
Sleep(100);
|
||||
#endif
|
||||
// csoler: I'm disabling this since it causes a very long update cycle when the number
|
||||
// of directories to go through is very large.
|
||||
//
|
||||
// #ifndef WINDOWS_SYS
|
||||
// usleep(100000); /* 1/10 sec */
|
||||
// #else
|
||||
// Sleep(100);
|
||||
// #endif
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
|
||||
/* check if directories have been updated */
|
||||
|
Loading…
Reference in New Issue
Block a user