From 16221eb8217bb90d0e16a59496c57ac147d76b19 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sun, 20 Jul 2025 23:59:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=20CheckRssJob=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E6=B7=BB=E5=8A=A0=202=20=E5=88=86=E9=92=9F?= =?UTF-8?q?=E7=9A=84=E6=8A=91=E5=88=B6=E6=97=B6=E9=97=B4=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E9=A2=91=E7=B9=81=E8=B0=83=E7=94=A8=20CheckN?= =?UTF-8?q?ewRss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/rss/job.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler/rss/job.go b/handler/rss/job.go index 9513f11..e12a570 100644 --- a/handler/rss/job.go +++ b/handler/rss/job.go @@ -28,6 +28,8 @@ func CheckRssJob() { now := time.Now() if now.Minute()%5 == 0 { go CheckNewRss() + //inhibit 2 minutes + time.Sleep(time.Minute * 2) } nextAwake := 5 - now.Minute()%5 if nextAwake == 0 {