Skip to content

Commit 11669e3

Browse files
committed
fix(rabbitmq): 修复消费循环启动时未设置to_tuple参数的问题
1 parent f503760 commit 11669e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/use_rabbitmq/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def start_consuming(
389389
**kwargs
390390
)
391391
# 启动消费循环
392-
channel.start_consuming()
392+
channel.start_consuming(to_tuple=False)
393393

394394
except amqpstorm.AMQPChannelError as exc:
395395
if self.__shutdown:

0 commit comments

Comments
 (0)