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, 1 insertion(+), 0 deletions(-)

changed files
M internal/config/structs.gointernal/config/structs.go
@@ -31,6 +31,7 @@
type Importer struct { Sources map[string]*Source LowMemory bool `comment:"Use less memory at the expense of import performance"` + BatchSize int `comment:"Number of items to process in each batch (affects memory usage)."` Timeout Duration `comment:"Abort fetch and import process for all jobs if it takes longer than this value."` UpdateAt LocalTime `comment:"Time of day (UTC) to run fetch/import process"` }