1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-09 07:40:53 +00:00

Optimize pings to reduce timer percolation

This commit is contained in:
Kane York 2017-10-27 13:13:39 -07:00
parent edb728f7bb
commit a900d1521e
2 changed files with 13 additions and 16 deletions

View file

@ -141,10 +141,6 @@ type ClientInfo struct {
// Take out an Add() on this during a command if you need to use the MessageChannel later.
MsgChannelKeepalive sync.WaitGroup
// The number of pings sent without a response.
// Protected by Mutex
pingCount int
}
func VersionFromString(v string) ClientVersion {