From dfc8ddb9b181c7fc5fb720d68a45e611224b1a98 Mon Sep 17 00:00:00 2001 From: cjy Date: Fri, 9 Jan 2026 11:04:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E6=88=90=E4=B8=80=E5=88=86?= =?UTF-8?q?=E9=92=9F=E6=9B=B4=E6=96=B010=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/cron/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cron/task.go b/pkg/cron/task.go index 44f6704..12f3231 100644 --- a/pkg/cron/task.go +++ b/pkg/cron/task.go @@ -43,7 +43,7 @@ func InitTasks() error { } // 每2分钟执行一次标签观看次数更新任务 - err = cm.AddTask("updateCastTagWatchCount", "0 */2 * * * *", UpdateCastTagWatchCountTask) + err = cm.AddTask("updateCastTagWatchCount", "0 */1 * * * *", UpdateCastTagWatchCountTask) cm.Start() // 启动队列消费者 @@ -522,7 +522,7 @@ func UpdateCastTagWatchCountTask() { CreatedAtEnd: createdAtEndStr, IsWatchCountCalled: 2, // 2表示未调用 Page: 1, - PageSize: 20, + PageSize: 10, } listResp, err := service.CastProvider.ListCastTags(ctx, listReq)