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:
parent
edb728f7bb
commit
a900d1521e
2 changed files with 13 additions and 16 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue