Switched ALLOC_FACTOR to 1.0 for the moment. Its only advisory for now anyway!

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5247 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-06-22 13:02:02 +00:00
parent 3dfbf128d8
commit b90c656412

View File

@ -149,7 +149,7 @@ bool p3BandwidthControl::checkAvailableBandwidth()
if (updatePeer)
{
#define ALLOC_FACTOR (0.9)
#define ALLOC_FACTOR (1.0)
// save value sent,
bit->second.mAllocated = ALLOC_FACTOR * 1000.0 * it->second.mMaxRateIn;
bit->second.mLastSend = now;