mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
removed more debug info
This commit is contained in:
parent
7d21390d03
commit
ed0e0f1da1
@ -1463,7 +1463,9 @@ bool p3GxsCircles::locked_processLoadingCacheEntry(RsGxsCircleCache& cache)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_CIRCLES
|
||||||
std::cerr << " (WW) cache entry for circle " << cache.mCircleId << " has empty originator. Asking info for GXS id " << pit->first << " to all connected friends." << std::endl;
|
std::cerr << " (WW) cache entry for circle " << cache.mCircleId << " has empty originator. Asking info for GXS id " << pit->first << " to all connected friends." << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
rsPeers->getOnlineList(peers) ;
|
rsPeers->getOnlineList(peers) ;
|
||||||
}
|
}
|
||||||
|
@ -1251,8 +1251,9 @@ bool p3IdService::requestKey(const RsGxsId &id, const std::list<RsPeerId>& peers
|
|||||||
|
|
||||||
if( info.mOverallReputationLevel == RsReputationLevel::LOCALLY_NEGATIVE )
|
if( info.mOverallReputationLevel == RsReputationLevel::LOCALLY_NEGATIVE )
|
||||||
{
|
{
|
||||||
RsInfo() << __PRETTY_FUNCTION__ << " not requesting Key " << id
|
#ifdef DEBUG_IDS
|
||||||
<< " because it has been banned." << std::endl;
|
RsInfo() << __PRETTY_FUNCTION__ << " not requesting Key " << id << " because it has been banned." << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
RS_STACK_MUTEX(mIdMtx);
|
RS_STACK_MUTEX(mIdMtx);
|
||||||
mIdsNotPresent.erase(id);
|
mIdsNotPresent.erase(id);
|
||||||
@ -2961,7 +2962,9 @@ void p3IdService::requestIdsFromNet()
|
|||||||
|
|
||||||
if(mKeyCache.fetch(cit->first,data))
|
if(mKeyCache.fetch(cit->first,data))
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_IDS
|
||||||
std::cerr << __PRETTY_FUNCTION__ << ". Dropping request for ID " << cit->first << " at last minute, because it was found in cache"<< std::endl;
|
std::cerr << __PRETTY_FUNCTION__ << ". Dropping request for ID " << cit->first << " at last minute, because it was found in cache"<< std::endl;
|
||||||
|
#endif
|
||||||
auto tmp(cit);
|
auto tmp(cit);
|
||||||
++tmp;
|
++tmp;
|
||||||
mIdsNotPresent.erase(cit);
|
mIdsNotPresent.erase(cit);
|
||||||
|
Loading…
Reference in New Issue
Block a user