mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 21:34:10 -05:00
removed delay when calling forceUpdate() on directories
This commit is contained in:
parent
d8cb3fe35a
commit
40cda111d2
@ -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()
|
void LocalDirectoryUpdater::forceUpdate()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user