all repos — searchix @ 63599c719d8e4e09548546bb366a849ef40c602b

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

feat: add low-memory mode

Alan Pearce
commit

63599c719d8e4e09548546bb366a849ef40c602b

parent

789d0079f84017ddafad763ffba9aadbcd6aa6da

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

changed files
M internal/config/structs.gointernal/config/structs.go
@@ -27,9 +27,10 @@ Headers map[string]string `comment:"Extra headers to send with HTTP requests"`
} type Importer struct { - Sources map[string]*Source - Timeout Duration `comment:"Abort fetch and import process for all jobs if it takes longer than this value."` - UpdateAt LocalTime `comment:"Local time of day to run fetch/import process"` + Sources map[string]*Source + LowMemory bool `comment:"Use less memory at the expense of import performance"` + Timeout Duration `comment:"Abort fetch and import process for all jobs if it takes longer than this value."` + UpdateAt LocalTime `comment:"Local time of day to run fetch/import process"` } type Source struct {