Ver Fonte

调整刷新时间

boweniac há 1 semana atrás
pai
commit
d6c50b3858
1 ficheiros alterados com 1 adições e 1 exclusões
  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()
 	})
 }