mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
randomly force full update of RsGxsUpdateBroadcastBase so as to get fresh statistics about GXS groups from time to time
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4624d53dd7
commit
4c94617bb0
@ -40,6 +40,11 @@ void RsGxsUpdateBroadcastBase::securedUpdateDisplay()
|
||||
emit fillDisplay(mFillComplete);
|
||||
mFillComplete = false;
|
||||
|
||||
// Randomly force updating popularity, and other statistics that can only be retrieved through a
|
||||
// complete update.
|
||||
if(RSRandom::random_f32() < 0.2)
|
||||
mFillComplete = true ;
|
||||
|
||||
/* Clear updated ids */
|
||||
mGrpIds.clear();
|
||||
mGrpIdsMeta.clear(),
|
||||
|
Loading…
Reference in New Issue
Block a user