소스 검색

update roundtripinfo

v2ray 9 년 전
부모
커밋
6ffc24f895
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}