From 6186cb3133915105269b3d99f4a12bfc8354ca6bd90a32c39b6b20d0455cc3aa Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Tue, 16 Apr 2024 15:33:58 +0300
Subject: [PATCH] Do not be too aggressive to jitter
---
cmd/client/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/client/main.go b/cmd/client/main.go
index 6ac7509..b74a75b 100644
--- a/cmd/client/main.go
+++ b/cmd/client/main.go
@@ -391,7 +391,7 @@ func main() {
var ok bool
var err error
for {
- for len(playerTx) > 1 {
+ for len(playerTx) > vors.MaxLost {
<-playerTx
stream.stats.reorder++
}
--
2.52.0