fix: Recreate closeNotify channel on recreate rabbit connection
This commit is contained in:
@@ -87,6 +87,7 @@ func (c *Connection) listenCloseNotify() {
|
||||
}
|
||||
|
||||
c.conn = dial
|
||||
c.closeNotify = dial.NotifyClose(make(chan *amqp.Error))
|
||||
|
||||
c.logger.Info("Rabbit connection stabilized")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user