[ Cmii ] [ Octopus ] - hot fix manual shut down init queue
This commit is contained in:
@@ -294,8 +294,8 @@ func handleInitMsgFromServer(initFromServerMsg *rabbitmq.OctopusMessage, initToS
|
||||
// shutdownRegisterQueueConnection 关闭初始化连接的两个队列
|
||||
func shutdownRegisterQueueConnection(initFromServerQueue *rabbitmq.RabbitQueue, initToServerQueue *rabbitmq.RabbitQueue) {
|
||||
|
||||
_ = initFromServerQueue.Close()
|
||||
_ = initToServerQueue.Close()
|
||||
initFromServerQueue.ConsumeOK = false
|
||||
initToServerQueue.ConsumeOK = false
|
||||
|
||||
log.InfoF("Octopus Agent Init Queue has disconnected!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user