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:
csoler 2016-11-27 20:57:38 +01:00
parent 6937d870b0
commit 137d71c0d9

View File

@ -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
// 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
}