Forráskód Böngészése

查询个微的时候,联系不存在的时候更新

lichangdong 4 napja
szülő
commit
818d7f144d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      crontask/init.go

+ 1 - 1
crontask/init.go

@@ -51,7 +51,7 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
 	})
 
 	l = NewCronTask(context.Background(), serverCtx)
-	c.AddFunc("*/30 * * * *", func() {
+	c.AddFunc("*/5 * * * *", func() {
 		l.wxAddFriend()
 	})