all repos — searchix @ d88d668ef0e29e9b15e384249a04d711b7a94c3d

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

perf: optimise import batching

Alan Pearce
commit

d88d668ef0e29e9b15e384249a04d711b7a94c3d

parent

84f1c93bbfea63b316665dd3a0bd696ad7bb1856

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M internal/index/indexer.gointernal/index/indexer.go
@@ -226,6 +226,7 @@ err, fmsg.Withf("could not check if index exists at path %s", indexBaseName))
} kvconfig := map[string]any{ + "unsafe_batch": true, "scorchPersisterOptions": map[string]any{ "NumPersisterWorkers": 8, "MaxSizeInMemoryMergePerWorker": 128 * 1024 * 1024,