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

changed files
M internal/config/structs.gointernal/config/structs.go
@@ -29,6 +29,7 @@ Environment string `comment:"Affects logging parameters. One of 'development' or 'production'"`
ExtraHeadHTML string `comment:"Content to add to HTML <head>. Can be used to override styling, add scripts, etc."` Headers map[string]string `comment:"Extra headers to send with HTTP requests"` LogRequests bool `comment:"Whether to log incoming HTTP requests"` + SearchTimeout Duration `comment:"Timeout for search requests"` } type Importer struct {