Kaynağa Gözat

update roundtripinfo

v2ray 9 yıl önce
ebeveyn
işleme
6ffc24f895
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      transport/internet/kcp/connection.go

+ 1 - 1
transport/internet/kcp/connection.go

@@ -62,7 +62,7 @@ func (this *RoundTripInfo) UpdatePeerRTO(rto uint32, current uint32) {
 	this.Lock()
 	defer this.Unlock()
 
-	if current-this.updatedTimestamp < 5000 {
+	if current-this.updatedTimestamp < 3000 {
 		return
 	}