diff options
author | Alan Pearce | 2025-03-27 19:42:24 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-27 19:42:24 +0100 |
commit | 00b189dbba42f084ffb94e28b3b709bb3f65d32e (patch) | |
tree | 12ed84471e555f82e99875585f2dddfd1a9e328d | |
parent | f38ccb5ec8149072c93a6c3173da06ba1d724c4c (diff) | |
download | searchix-00b189dbba42f084ffb94e28b3b709bb3f65d32e.tar.lz searchix-00b189dbba42f084ffb94e28b3b709bb3f65d32e.tar.zst searchix-00b189dbba42f084ffb94e28b3b709bb3f65d32e.zip |
feat: improve logging of next import time
-rw-r--r-- | internal/importer/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/main.go b/internal/importer/main.go index 79be118..d129cd3 100644 --- a/internal/importer/main.go +++ b/internal/importer/main.go @@ -309,7 +309,6 @@ func (imp *Importer) StartUpdateTimer( } 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 @@ func (imp *Importer) StartUpdateTimer( } nextRun = nextUTCOccurrenceOfTime(imp.config.Importer.UpdateAt) MarkIndexingFinished(nextRun) + imp.log.Info("scheduling next run", "next-run", nextRun.Format(time.DateTime)) } }) } |