mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Implement proper reConnect logic for amqp notification target. (#4867)
Fixes #4597
This commit is contained in:
committed by
Dee Koder
parent
5a73aecb5c
commit
72490bf8db
+1
-1
@@ -78,7 +78,7 @@ func isAMQPQueue(sqsArn arnSQS) bool {
|
||||
errorIf(err, "Unable to connect to amqp service. %#v", amqpL)
|
||||
return false
|
||||
}
|
||||
defer amqpC.Close()
|
||||
defer amqpC.conn.Close()
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user