mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
extended the window during which the GUI is told to tell that the update of shared dirs is done from 5 to 15 secs
This commit is contained in:
parent
6937d870b0
commit
137d71c0d9
@ -226,7 +226,7 @@ int p3FileDatabase::tick()
|
|||||||
// so the first notify is ignored, and no other notify will happen next. We only do it if no data was received in the last 5 secs, in order to
|
// so the first notify is ignored, and no other notify will happen next. We only do it if no data was received in the last 5 secs, in order to
|
||||||
// avoid syncing the GUI at every dir sync which kills performance.
|
// avoid syncing the GUI at every dir sync which kills performance.
|
||||||
|
|
||||||
if(mLastDataRecvTS + 5 < now && mLastDataRecvTS + 10 > now)
|
if(mLastDataRecvTS + 5 < now && mLastDataRecvTS + 20 > now)
|
||||||
RsServer::notify()->notifyListChange(NOTIFY_LIST_DIRLIST_FRIENDS, 0); // notify the GUI if the hierarchy has changed
|
RsServer::notify()->notifyListChange(NOTIFY_LIST_DIRLIST_FRIENDS, 0); // notify the GUI if the hierarchy has changed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user