mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Lowered update of server sync TS from 10 seconds to 60 seconds.
This commit is contained in:
parent
641a433f97
commit
1a1a2aa11d
1 changed files with 1 additions and 1 deletions
|
@ -1164,7 +1164,7 @@ void RsGxsNetService::data_tick()
|
||||||
//Start waiting as nothing to do in runup
|
//Start waiting as nothing to do in runup
|
||||||
usleep((int) (timeDelta * 1000 * 1000)); // timeDelta sec
|
usleep((int) (timeDelta * 1000 * 1000)); // timeDelta sec
|
||||||
|
|
||||||
if(mUpdateCounter >= 20)
|
if(mUpdateCounter >= 120) // 60 seconds
|
||||||
{
|
{
|
||||||
updateServerSyncTS();
|
updateServerSyncTS();
|
||||||
mUpdateCounter = 0;
|
mUpdateCounter = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue