all repos — searchix @ 90f16010ba6c54f9e215ed48873686a428bcb746

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

refactor: shut down more quickly

Alan Pearce
commit

90f16010ba6c54f9e215ed48873686a428bcb746

parent

1db432a56d503d60ccfafadfe6494f64cb8c325c

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/server/server.gointernal/server/server.go
@@ -90,7 +90,7 @@ s.log.Debug("stop called")
idleConnsClosed := make(chan struct{}) if s.cfg.Web.Environment == "development" { - shutdownTimeout = 1 * time.Second + shutdownTimeout = 1 * time.Millisecond } go func() {