mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 14:06:58 -05:00
increase ping interval
This commit is contained in:
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
Block a user