refactor: shut down more quickly
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/server/server.go → internal/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() {