This commit is contained in:
shoopea 2019-07-31 15:03:17 +08:00
parent c5829065c0
commit bc0135f220

View File

@ -166,6 +166,7 @@ func MQKeepAliveWorker() {
} else if clt, ok := getLockedClient(x.TGUserID64, true); ok {
clt.HeartBeat = x.Date
if clt.Active {
log.Printf("MQKeepAliveWorker : Client already active.\n")
clt.Mux.Unlock()
} else {
log.Printf("MQKeepAliveWorker : Connecting client.\n")