Skip to content

Commit

Permalink
*: remove write timeout (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhebox authored Dec 15, 2022
1 parent 9ad7689 commit 32b4c29
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func NewServer(ctx context.Context, sctx *sctx.Context) (srv *Server, err error)
hsrv := http.Server{
Handler: engine.Handler(),
ReadHeaderTimeout: DefConnTimeout,
WriteTimeout: DefConnTimeout,
IdleTimeout: DefConnTimeout,
}
slogger.Info("HTTP closed", zap.Error(hsrv.Serve(srv.HTTPListener)))
Expand Down

0 comments on commit 32b4c29

Please sign in to comment.