WH01243 10 mesiacov pred
rodič
commit
b3a720df70
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)
 	})
 }