mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-12 08:33:05 -04:00
removed some debug messages, added some ifdefs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7775 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a895261bd5
commit
acc45a4382
8 changed files with 177 additions and 13 deletions
|
@ -177,7 +177,9 @@ public:
|
|||
RsConfigDataRates rates ;
|
||||
rsConfig->getTotalBandwidthRates(rates) ;
|
||||
|
||||
#ifdef NXS_NET_DEBUG
|
||||
std::cerr << std::dec << std::endl;
|
||||
#endif
|
||||
|
||||
float outqueue_factor = 1.0f/pow( std::max(0.02f,rates.mQueueOut / (float)OUTQUEUE_CUTOFF_VALUE),5.0f) ;
|
||||
float accepted_bandwidth = std::max( 0.0f, maxOut - currOut) ;
|
||||
|
@ -2057,7 +2059,9 @@ void RsGxsNetService::locked_genReqGrpTransaction(NxsTransaction* tr)
|
|||
// then what grps to request
|
||||
// then add an active Transaction for request
|
||||
|
||||
#ifdef NXS_NET_DEBUG
|
||||
std::cerr << "locked_genReqGrpTransaction(): " << std::endl;
|
||||
#endif
|
||||
|
||||
std::list<RsNxsSyncGrpItem*> grpItemL;
|
||||
std::list<RsNxsItem*>::iterator lit = tr->mItems.begin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue