mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -04:00
Merge pull request #1052 from csoler/v0.6-FT
removed delay when calling forceUpdate() on directories
This commit is contained in:
commit
5970ff239b
1 changed files with 9 additions and 1 deletions
|
@ -90,7 +90,15 @@ void LocalDirectoryUpdater::data_tick()
|
|||
}
|
||||
}
|
||||
|
||||
usleep(10*1000*1000);
|
||||
for(uint32_t i=0;i<10;++i)
|
||||
{
|
||||
usleep(1*1000*1000);
|
||||
|
||||
{
|
||||
if(mForceUpdate)
|
||||
break ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void LocalDirectoryUpdater::forceUpdate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue