[agent-wdd] 完成Excecutor和Operator部分,完成base tools部分

This commit is contained in:
zeaslity
2025-02-14 17:17:55 +08:00
parent dabf63f10f
commit ce0395ae66
12 changed files with 380 additions and 23 deletions

View File

@@ -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
`

View File

@@ -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 {

View File

@@ -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 {