perf: tune storage backend
1 file changed, 3 insertions(+), 2 deletions(-)
changed files
M cmd/searchix-web/ingest.go → cmd/searchix-web/ingest.go
@@ -33,8 +33,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"))