put loading circles in cache as soon as we get the data for them. The cache entry might be incomplete.

This commit is contained in:
csoler 2016-05-22 18:21:00 -04:00
parent d60e99e8e0
commit be3be9f8bf

View File

@ -1127,8 +1127,9 @@ bool p3GxsCircles::locked_processLoadingCacheEntry(RsGxsCircleCache& cache)
checkCircleCacheForAutoSubscribe(cache);
if(isUnprocessedPeers)
return false ;
// always store in cache even if uncomplete. But do not remove the loading items so that they can be kept in loading state.
// if(isUnprocessedPeers)
// return false ;
/* move straight into the cache */
mCircleCache.store(cache.mCircleId, cache);