Explorar o código

update roundtripinfo

v2ray %!s(int64=9) %!d(string=hai) anos
pai
achega
6ffc24f895
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 	}