remove duplicate logging
This commit is contained in:
parent
ed6902def0
commit
16736c9410
1 changed files with 0 additions and 2 deletions
|
@ -31,8 +31,6 @@ func SendPermanentBroadCastMessage() {
|
|||
if time.Now().Sub(client.LastPong) > (10 * time.Second) {
|
||||
// Remove unresponsive client
|
||||
client.Conn.Close()
|
||||
delete(Clients, client.Conn.LocalAddr())
|
||||
helper.Logger.Info("Client timed out", "lastPong", client.LastPong, "host", client.RealIP, "clients", len(Clients))
|
||||
}
|
||||
}
|
||||
<-tick.C
|
||||
|
|
Loading…
Reference in a new issue