mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-31 06:26:53 -05:00
update roundtripinfo
This commit is contained in:
parent
0d73726930
commit
6ffc24f895
@ -62,7 +62,7 @@ func (this *RoundTripInfo) UpdatePeerRTO(rto uint32, current uint32) {
|
|||||||
this.Lock()
|
this.Lock()
|
||||||
defer this.Unlock()
|
defer this.Unlock()
|
||||||
|
|
||||||
if current-this.updatedTimestamp < 5000 {
|
if current-this.updatedTimestamp < 3000 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user