Skip to content

Commit f75d38c

Browse files
liaobwRock-520
authored andcommitted
调整话题任务消息订阅者的队列参数,将消息处理数量从3更改为1,以优化消息处理效率。
1 parent 5436c91 commit f75d38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/super-magic-module/src/Application/SuperAgent/Event/Subscribe/TopicTaskMessageSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
exchange: 'super_magic_topic_task_message',
2727
routingKey: 'super_magic_topic_task_message',
2828
queue: 'super_magic_topic_task_message',
29-
nums: 3
29+
nums: 1
3030
)]
3131
class TopicTaskMessageSubscriber extends ConsumerMessage
3232
{

0 commit comments

Comments
 (0)