mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-27 10:21:40 -05: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 */
|
/* sleep a bit for each loop */
|
||||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||||
#ifndef WINDOWS_SYS
|
// csoler: I'm disabling this since it causes a very long update cycle when the number
|
||||||
usleep(100000); /* 1/10 sec */
|
// of directories to go through is very large.
|
||||||
#else
|
//
|
||||||
Sleep(100);
|
// #ifndef WINDOWS_SYS
|
||||||
#endif
|
// usleep(100000); /* 1/10 sec */
|
||||||
|
// #else
|
||||||
|
// Sleep(100);
|
||||||
|
// #endif
|
||||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||||
|
|
||||||
/* check if directories have been updated */
|
/* check if directories have been updated */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user