all repos — searchix @ a1bbe1c0565acf322ca9af88876b9d0c8ee52ab3

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

fix: update search index as part of update timer regression since e42750a45f359a4221cbcc481b156c8e6ca84642

Alan Pearce
commit

a1bbe1c0565acf322ca9af88876b9d0c8ee52ab3

parent

0dc3ac14c8cd367a415bc14f5e0dd682420e5480

1 file changed, 7 insertions(+), 0 deletions(-)

changed files
M internal/importer/main.gointernal/importer/main.go
@@ -377,6 +377,13 @@ } else {
imp.options.Logger.Info("update complete") } + err = imp.Index(ctx) + if err != nil { + imp.options.Logger.Warn("error indexing update", "error", err) + } else { + imp.options.Logger.Info("indexing complete") + } + cancel() MarkImportFinished()