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:
csoler 2015-05-09 13:25:03 +00:00
parent 4624d53dd7
commit 4c94617bb0

View File

@ -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(),