test
This commit is contained in:
parent
b7d240d0e7
commit
9b15c990cc
@ -325,7 +325,7 @@ func MQTidyKeepAliveWorker() {
|
||||
t := time.Now()
|
||||
for _, v := range clientsKeepAlive {
|
||||
if v.Date.Add(90 * time.Second).Before(time.Now()) {
|
||||
msgs, err := clientsQueue[v.UserID64].Channel.QueuePurge(clt[v.UserID64].Queue.Name, false)
|
||||
msgs, err := clientsQueue[v.UserID64].Channel.QueuePurge(clientsQueue[v.UserID64].Queue.Name, false)
|
||||
_ = clientsQueue[v.UserID64].Channel.Close()
|
||||
_ = clientsQueue[v.UserID64].Connection.Close()
|
||||
c := TGCommand{
|
||||
|
Loading…
Reference in New Issue
Block a user