mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-20 16:18:00 +00:00
fix(server): remove global server timeouts
This commit is contained in:
parent
34f0f64d68
commit
82346b08da
3
main.go
3
main.go
|
@ -58,9 +58,6 @@ func main() {
|
||||||
Addr: *listenAddr,
|
Addr: *listenAddr,
|
||||||
Handler: tracing(nextRequestID)(logging(logger.Debug)(router)),
|
Handler: tracing(nextRequestID)(logging(logger.Debug)(router)),
|
||||||
ErrorLog: logger.Error,
|
ErrorLog: logger.Error,
|
||||||
ReadTimeout: 5 * time.Second,
|
|
||||||
WriteTimeout: 10 * time.Second,
|
|
||||||
IdleTimeout: 15 * time.Second,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start the dispatcher.
|
// Start the dispatcher.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user