test
This commit is contained in:
parent
c5829065c0
commit
bc0135f220
@ -166,6 +166,7 @@ func MQKeepAliveWorker() {
|
|||||||
} else if clt, ok := getLockedClient(x.TGUserID64, true); ok {
|
} else if clt, ok := getLockedClient(x.TGUserID64, true); ok {
|
||||||
clt.HeartBeat = x.Date
|
clt.HeartBeat = x.Date
|
||||||
if clt.Active {
|
if clt.Active {
|
||||||
|
log.Printf("MQKeepAliveWorker : Client already active.\n")
|
||||||
clt.Mux.Unlock()
|
clt.Mux.Unlock()
|
||||||
} else {
|
} else {
|
||||||
log.Printf("MQKeepAliveWorker : Connecting client.\n")
|
log.Printf("MQKeepAliveWorker : Connecting client.\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user