Skip to content

Commit

Permalink
Using mutex queue for Acknowledgement timer
Browse files Browse the repository at this point in the history
  • Loading branch information
philips77 committed Oct 16, 2023
1 parent c4af589 commit 85a0735
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ private extension LowerTransportLayer {
return nil
}
acknowledgmentTimers[key] = BackgroundTimer.scheduledTimer(
withTimeInterval: networkManager.networkParameters.completeAcknowledgmentTimerInterval, repeats: false
withTimeInterval: networkManager.networkParameters.completeAcknowledgmentTimerInterval,
repeats: false, queue: mutex
) { [weak self] _ in
// Until this timer is not executed no Segment Acknowledgment Message
// will be sent for the same completed message.
Expand Down

0 comments on commit 85a0735

Please sign in to comment.