[agent-wdd] 完成Excecutor和Operator部分,完成base tools部分
This commit is contained in:
@@ -43,7 +43,7 @@ LimitNOFILE=infinity
|
||||
TasksMax=infinity
|
||||
OOMScoreAdjust=-999
|
||||
|
||||
[Install]
|
||||
[installPrefix]
|
||||
WantedBy=multi-user.target
|
||||
`
|
||||
|
||||
@@ -57,7 +57,7 @@ SocketMode=0660
|
||||
SocketUser=root
|
||||
SocketGroup=docker
|
||||
|
||||
[Install]
|
||||
[installPrefix]
|
||||
WantedBy=sockets.target
|
||||
`
|
||||
|
||||
@@ -107,7 +107,7 @@ Delegate=yes
|
||||
KillMode=process
|
||||
OOMScoreAdjust=-500
|
||||
|
||||
[Install]
|
||||
[installPrefix]
|
||||
WantedBy=multi-user.target
|
||||
`
|
||||
|
||||
|
||||
@@ -553,7 +553,7 @@ func shutdownRegisterQueueConnection(initFromServerQueue *rabbitmq.RabbitQueue,
|
||||
initFromServerQueue.ConsumeOK.Store(false)
|
||||
initToServerQueue.ConsumeOK.Store(false)
|
||||
|
||||
log.InfoF("Octopus Agent Init Queue has disconnected!")
|
||||
log.InfoF("Octopus Agent initCommand Queue has disconnected!")
|
||||
}
|
||||
|
||||
func parseAgentServerInfo(agentServerInfoConf string) *a_agent.AgentServerInfo {
|
||||
|
||||
@@ -161,7 +161,7 @@ func (r *RabbitQueue) Connect() {
|
||||
|
||||
// build for receive chan
|
||||
rabbitRCha := &RabbitReceiveChan{}
|
||||
if strings.HasPrefix(r.RabbitProp.QueueName, "Init") {
|
||||
if strings.HasPrefix(r.RabbitProp.QueueName, "initCommand") {
|
||||
// init queue
|
||||
rabbitRCha.InitRChan = make(chan *OctopusMessage)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user