From 2523d162fdc86ee2ad18225c15d42ff01edd5e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 19 May 2022 09:38:20 +0800 Subject: [PATCH] 1 --- business/jxstore/misc/misc.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 64ebfb059..0bdf413df 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -160,7 +160,7 @@ func IsImportantTaskRunning(taskName string) bool { } func Init() { - globals.SugarLogger.Debug("-----------------30s跑一次", time.Now(),globals.IsProductEnv()) + globals.SugarLogger.Debug("-----------------30s跑一次", time.Now(), globals.IsProductEnv()) if globals.IsProductEnv() { //ScheduleTimerFunc("doDailyWork2", doDailyWork2, dailyWorkTimeList2) @@ -178,8 +178,7 @@ func Init() { ScheduleTimerFuncByInterval(func() { delivery.GetOrderRiderInfoToPlatform("") globals.SugarLogger.Debug("五分钟跑一次", time.Now()) - }, 10*time.Second, 5*time.Minute) - + }, 10*time.Second, 30*time.Second) ScheduleTimerFuncByInterval(func() { defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)