WH01243 před 10 měsíci
rodič
revize
b3a720df70
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      p/timetask.go

+ 1 - 1
p/timetask.go

@@ -71,7 +71,7 @@ func (t *timeTask) RunInSecondTimeLoop(msg, start, end string, duration int64, r
 	d := time.Duration(duration) * time.Second
 	logger.Info(msg, "start runInTimeLoop after", d)
 	time.AfterFunc(d, func() {
-		t.RunInTimeLoop(msg, start, end, duration, true, false, nowRunHours, f)
+		t.RunInSecondTimeLoop(msg, start, end, duration, true, false, nowRunHours, f)
 	})
 }