mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 05:50:30 +02:00
Fix ack timestamps
This commit is contained in:
parent
c5b92d319f
commit
7083d84372
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ void Connection::sendACK(bool wasCausedBySyncTimeout) {
|
|||
_parentSocket->writeBasePacket(*ackPacket, _destination);
|
||||
|
||||
// write this ACK to the map of sent ACKs
|
||||
_sentACKs[_currentACKSubSequenceNumber] = { nextACKNumber, currentTime };
|
||||
_sentACKs[_currentACKSubSequenceNumber] = { nextACKNumber, high_resolution_clock::now() };
|
||||
|
||||
// reset the number of data packets received since last ACK
|
||||
_packetsSinceACK = 0;
|
||||
|
|
Loading…
Reference in a new issue