test
This commit is contained in:
parent
4d6ebb6500
commit
05f7aa05f2
2
def.go
2
def.go
@ -16,7 +16,7 @@ type MQKeepAlive struct {
|
||||
}
|
||||
|
||||
type MQClient struct {
|
||||
Connnection *amqp.Connection
|
||||
Connection *amqp.Connection
|
||||
Channel *amqp.Channel
|
||||
Queue amqp.Queue
|
||||
}
|
||||
|
2
main.go
2
main.go
@ -109,7 +109,7 @@ func main() {
|
||||
SQLMsgIdentifyQueue = make(chan int64, 100)
|
||||
TGCmdQueue = make(chan TGCommand, 100)
|
||||
MQTGCmdQueue = make(chan TGCommand, 100)
|
||||
clientsQueue = make(map[int64]*MQQueue)
|
||||
clientsQueue = make(map[int64]*MQClient)
|
||||
clientsKeepAlive = make(map[int64]*MQKeepAlive)
|
||||
|
||||
for w := 1; w <= MQGetMsgWorkers; w++ {
|
||||
|
Loading…
Reference in New Issue
Block a user