From 9b99120b74d1edaab240f2d3daf710705cb5cd3d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 13 Jun 2024 11:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consume/zhios_express_order_fail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consume/zhios_express_order_fail.go b/consume/zhios_express_order_fail.go index dd610b2..466ec35 100644 --- a/consume/zhios_express_order_fail.go +++ b/consume/zhios_express_order_fail.go @@ -31,7 +31,7 @@ func ZhiosExpressOrderFail(queue md.MqQueue) { //1、将自己绑定到交换机上 ch.Bind(queue.Name, queue.ExchangeName, queue.RoutKey) //2、取出数据进行消费 - ch.Qos(20) + ch.Qos(1) delivery := ch.Consume(queue.Name, false) var res amqp.Delivery