mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 04:41:15 +02:00
fix for comment for PacketTimeWindow
This commit is contained in:
parent
cf30426636
commit
b0147144cb
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ void Connection::sendACK(bool wasCausedBySyncTimeout) {
|
|||
if (wasCausedBySyncTimeout) {
|
||||
// pack in the receive speed and estimatedBandwidth
|
||||
ackPacket->writePrimitive(_receiveWindow.getPacketReceiveSpeed());
|
||||
ackPacket->writePrimitive(_receiveWindow.getEstimatedBandwidth());
|
||||
ackPacket->writePrimitive(_receiveWindow.getEstimatedBandwidth());
|
||||
|
||||
// record this as the last ACK send time
|
||||
lastACKSendTime = high_resolution_clock::now();
|
||||
|
|
|
@ -75,7 +75,7 @@ private:
|
|||
|
||||
SentACKMap _sentACKs; // Map of ACK sub-sequence numbers to ACKed sequence number and sent time
|
||||
|
||||
PacketTimeWindow _receiveWindow; // Window of received packets for bandwidth estimation and receive speed
|
||||
PacketTimeWindow _receiveWindow { 16, 64 }; // Window of interval between packets (16) and probes (64) for bandwidth and receive speed
|
||||
|
||||
std::unique_ptr<SendQueue> _sendQueue;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue