WH01243 hai 10 meses
pai
achega
b3a720df70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 	})
 }