mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
make capacitySpeedDelta a double
This commit is contained in:
parent
cba51ac63d
commit
0e3403833d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ void DefaultCC::onACK(SequenceNumber ackNum) {
|
|||
return;
|
||||
}
|
||||
|
||||
int capacitySpeedDelta = (int) (_bandwidth - USECS_PER_SECOND / _packetSendPeriod);
|
||||
double capacitySpeedDelta = (_bandwidth - USECS_PER_SECOND / _packetSendPeriod);
|
||||
|
||||
// UDT uses what they call DAIMD - additive increase multiplicative decrease with decreasing increases
|
||||
// This factor is a protocol parameter that is part of the DAIMD algorithim
|
||||
|
|
Loading…
Reference in a new issue