fix(server): remove global server timeouts

This commit is contained in:
Nicolas Carlier 2018-03-21 14:08:00 +00:00 committed by Nicolas Carlier
parent 34f0f64d68
commit 82346b08da

View File

@ -58,9 +58,6 @@ func main() {
Addr: *listenAddr,
Handler: tracing(nextRequestID)(logging(logger.Debug)(router)),
ErrorLog: logger.Error,
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
IdleTimeout: 15 * time.Second,
}
// Start the dispatcher.