shorten TCPKeepAlive length

pull/691/head
Jade McGough 2016-12-07 15:17:27 -08:00
parent b0f3fc9176
commit 37f7ba5c68
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func (s *Server) Serve() error {
httpServer := &graceful.Server{Server: new(http.Server)}
httpServer.SetKeepAlivesEnabled(true)
httpServer.TCPKeepAlive = 1 * time.Minute
httpServer.TCPKeepAlive = 5 * time.Second
httpServer.Handler = s.handler
if !s.ReportingDisabled {