[agent-go] [status] - update code

This commit is contained in:
zeaslity
2023-04-25 11:31:15 +08:00
parent 9a676b5087
commit 42b7b6e511
5 changed files with 20 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ func (r *RabbitQueue) Connect() {
if err = ch.ExchangeDeclare(
r.RabbitProp.ExchangeName, // name of the exchange
r.RabbitProp.ExchangeType, // type of the exchange
false, // durable
true, // durable
false, // delete when complete
false, // internal
false, // noWait
@@ -101,7 +101,7 @@ func (r *RabbitQueue) Connect() {
_, err = ch.QueueDeclare(
r.RabbitProp.QueueName, // name of the queue
false, // durable
true, // durable
false, // delete when unused
false, // exclusive
false, // noWait