mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
A bit of debug - cleaning up.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
519075c70b
commit
5b70ef6076
@ -386,7 +386,11 @@ int bdNodeManager::status()
|
||||
mNetworkSize = mNodeSpace.calcNetworkSize();
|
||||
mBdNetworkSize = mNodeSpace.calcNetworkSizeWithFlag(
|
||||
BITDHT_PEER_STATUS_DHT_APPL);
|
||||
|
||||
|
||||
#ifdef DEBUG_MGR
|
||||
std::cerr << "BitDHT NetworkSize: " << mNetworkSize << std::endl;
|
||||
std::cerr << "BitDHT App NetworkSize: " << mBdNetworkSize << std::endl;
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -338,11 +338,13 @@ void bdNode::iteration()
|
||||
i++;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_NODE_ACTIONS
|
||||
std::cerr << "bdNode::iteration() maxMsgs: " << maxMsgs << " sentPings: " << sentPings;
|
||||
std::cerr << " / " << allowedPings;
|
||||
std::cerr << " sentQueries: " << sentQueries;
|
||||
std::cerr << " / " << numQueries;
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
/* process remote query too */
|
||||
processRemoteQuery();
|
||||
|
Loading…
Reference in New Issue
Block a user