Explorar el Código

调整刷新时间

boweniac hace 1 semana
padre
commit
d6c50b3858
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
 	})
 }