feat: improve logging of next import time
1 file changed, 1 insertion(+), 1 deletion(-)
jump to
M internal/importer/main.go → internal/importer/main.go
@@ -309,7 +309,6 @@ nextRun = nextUTCOccurrenceOfTime(imp.config.Importer.UpdateAt) } SetNextRun(nextRun) for { - imp.log.Debug("scheduling next run", "next-run", nextRun) select { case <-parentCtx.Done(): imp.log.Debug("stopping scheduler")@@ -349,6 +348,7 @@ }, monitorConfig) } nextRun = nextUTCOccurrenceOfTime(imp.config.Importer.UpdateAt) MarkIndexingFinished(nextRun) + imp.log.Info("scheduling next run", "next-run", nextRun.Format(time.DateTime)) } }) }