all repos — searchix @ 843de71ca2678f20f71a0fe76082611f5f748326

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

perf: tune storage backend

Alan Pearce
commit

843de71ca2678f20f71a0fe76082611f5f748326

parent

abef2e5b0db37c771464469c3f83890b4cc0a297

1 file changed, 3 insertions(+), 2 deletions(-)

changed files
M cmd/searchix-web/serve.gocmd/searchix-web/serve.go
@@ -39,8 +39,9 @@ }
defer root.Close() store, err := storage.New(&storage.Options{ - Root: root, - Logger: logger.Named("store"), + LowMemory: cfg.Importer.LowMemory, + Root: root, + Logger: logger.Named("store"), }) if err != nil { return fault.Wrap(err, fmsg.With("Failed to create store"))