mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
removed more debug info, improved tooltips
This commit is contained in:
parent
ccd72cb827
commit
2bde81f210
2 changed files with 15 additions and 0 deletions
|
@ -1018,12 +1018,16 @@ bool p3GxsCircles::cache_load_for_token(uint32_t token)
|
|||
|
||||
if(locked_processLoadingCacheEntry(it->second))
|
||||
{
|
||||
#ifdef DEBUG_CIRCLES
|
||||
std::cerr << " All peers available. Moving to cache..." << std::endl;
|
||||
#endif
|
||||
mLoadingCache.erase(it);
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef DEBUG_CIRCLES
|
||||
std::cerr << " Unprocessed peers. Requesting reload..." << std::endl;
|
||||
#endif
|
||||
|
||||
/* schedule event to try reload gxsIds */
|
||||
RsTickEvent::schedule_in(CIRCLE_EVENT_RELOADIDS, GXSID_LOAD_CYCLE, id.toStdString());
|
||||
|
@ -1179,7 +1183,9 @@ bool p3GxsCircles::cache_reloadids(const RsGxsCircleId &circleId)
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifdef DEBUG_CIRCLES
|
||||
std::cerr << " Unprocessed peers. Requesting reload for circle " << circleId << std::endl;
|
||||
#endif
|
||||
|
||||
/* schedule event to try reload gxsIds */
|
||||
RsTickEvent::schedule_in(CIRCLE_EVENT_RELOADIDS, GXSID_LOAD_CYCLE, circleId.toStdString());
|
||||
|
@ -1201,7 +1207,9 @@ bool p3GxsCircles::locked_checkCircleCacheForMembershipUpdate(RsGxsCircleCache&
|
|||
|
||||
if(cache.mLastUpdatedMembershipTS + GXS_CIRCLE_DELAY_TO_FORCE_MEMBERSHIP_UPDATE < now)
|
||||
{
|
||||
#ifdef DEBUG_CIRCLES
|
||||
std::cerr << "Cache entry for circle " << cache.mCircleId << " needs a swab over membership requests. Re-scheduling it." << std::endl;
|
||||
#endif
|
||||
|
||||
// this should be called regularly
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue