mirror of https://github.com/v2ray/v2ray-core
increase ping interval
parent
b5910dccae
commit
ab3173039b
|
@ -567,7 +567,7 @@ func (this *Connection) flush() {
|
|||
this.receivingWorker.Flush(current)
|
||||
this.sendingWorker.Flush(current)
|
||||
|
||||
if current-atomic.LoadUint32(&this.lastPingTime) >= 1000 {
|
||||
if current-atomic.LoadUint32(&this.lastPingTime) >= 3000 {
|
||||
this.Ping(current, CommandPing)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue