fix: apply code-review and insight findings across nuntius
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ func main() {
|
||||
h.Register(mux)
|
||||
|
||||
srv := &http.Server{
|
||||
Addr: ":" + itoa(cfg.Server.Port),
|
||||
Addr: "[::]:" + itoa(cfg.Server.Port),
|
||||
Handler: withRequestLog(mux, logger),
|
||||
ReadHeaderTimeout: 10 * time.Second,
|
||||
ReadTimeout: 15 * time.Second,
|
||||
|
||||
Reference in New Issue
Block a user