From 308d679a549aafedb75fa6d854355d252daac4f0 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Sun, 23 Jun 2024 18:39:57 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=8F=90=E9=AB=98=E7=A8=BF=E4=BB=B6?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E7=9A=84=E6=A3=80=E6=9F=A5=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E7=A8=BF=E4=BB=B6=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/service/routine/confirm_posted.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service/routine/confirm_posted.go b/backend/service/routine/confirm_posted.go index d57c81b..a28bab7 100644 --- a/backend/service/routine/confirm_posted.go +++ b/backend/service/routine/confirm_posted.go @@ -12,7 +12,7 @@ func ConfirmPosted(db database.MongoDBManager, msq mq.RedisStreamMQ) { // 取出状态为“队列中”的稿件 // 检查消息队列中HGETALL publish_post_status:post_id 的所有值是否都是1 // 如果是, 则更新稿件状态为“已发布” - inQueuePosts, _, err := db.GetPosts(-1, database.POST_STATUS_IN_QUEUE, 1, 1, 10) + inQueuePosts, _, err := db.GetPosts(-1, database.POST_STATUS_IN_QUEUE, 1, 1, 100) if err != nil { return }