Browse Source

调整刷新时间

boweniac 1 week ago
parent
commit
d6c50b3858
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crontask/init.go

+ 1 - 1
crontask/init.go

@@ -44,7 +44,7 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
 	})
 
 	syncWx := NewCronTask(context.Background(), serverCtx)
-	c.AddFunc("*/30 * * * *", func() {
+	c.AddFunc("*/15 * * * *", func() {
 		syncWx.syncWx()
 	})
 }