all repos — searchix @ f38ccb5ec8149072c93a6c3173da06ba1d724c4c

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

feat: make index batch size configurable

Alan Pearce
commit

f38ccb5ec8149072c93a6c3173da06ba1d724c4c

parent

75c2afdf214b0ddc57efe8e621eb172506c0b0f7

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

changed files
M defaults.tomldefaults.toml
@@ -64,6 +64,8 @@ # Settings for the import job
[Importer] # Use less memory at the expense of import performance LowMemory = false +# Number of items to process in each batch (affects memory usage). +BatchSize = 10000 # Abort fetch and import process for all jobs if it takes longer than this value. Timeout = '30m0s' # Time of day (UTC) to run fetch/import process