test
This commit is contained in:
parent
f7b085a217
commit
1ca4769504
@ -28,7 +28,7 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
||||
c.Connection, err = amqp.Dial("amqp://" + c.User + ":" + c.Password + "@" + c.Host + "/" + c.Path)
|
||||
logOnError(err, "MQGetMsgWorker["+strconv.Itoa(id)+"] : Cannot open MQ connection")
|
||||
if err != nil {
|
||||
c.Connection.Close()
|
||||
//c.Connection.Close()
|
||||
time.Sleep(15 * time.Second)
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user