all repos — searchix @ 00b189dbba42f084ffb94e28b3b709bb3f65d32e

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: improve logging of next import time

Alan Pearce
commit

00b189dbba42f084ffb94e28b3b709bb3f65d32e

parent

f38ccb5ec8149072c93a6c3173da06ba1d724c4c

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M internal/importer/main.gointernal/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)) } }) }