all repos — searchix @ 8a1972abb4b429bd62b47cb44e3219d722919faf

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

feat: make web search timeout configurable

Alan Pearce
commit

8a1972abb4b429bd62b47cb44e3219d722919faf

parent

0b2627ff5be310d394fe63063bdf67e22debe12d

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M internal/config/default.gointernal/config/default.go
@@ -47,7 +47,8 @@ ),
"x-content-type-options": "nosniff", "x-frame-options": "DENY", }, - LogRequests: true, + LogRequests: true, + SearchTimeout: Duration{1 * time.Second}, }, Importer: &Importer{ LowMemory: false,