increase ping interval

pull/314/head
Darien Raymond 2016-10-11 21:21:06 +02:00
parent b5910dccae
commit ab3173039b
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}