From b90c656412eb2e425ab0592b6651c2aa75d6a618 Mon Sep 17 00:00:00 2001 From: drbob Date: Fri, 22 Jun 2012 13:02:02 +0000 Subject: [PATCH] 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 --- libretroshare/src/services/p3bwctrl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/services/p3bwctrl.cc b/libretroshare/src/services/p3bwctrl.cc index 9f157587a..c823c72ea 100644 --- a/libretroshare/src/services/p3bwctrl.cc +++ b/libretroshare/src/services/p3bwctrl.cc @@ -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;