Commit 8472f9bf authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Relax web server timeouts.

parent 57e08201
...@@ -31,8 +31,7 @@ func webserver() { ...@@ -31,8 +31,7 @@ func webserver() {
go func() { go func() {
server := &http.Server{ server := &http.Server{
Addr: httpAddr, Addr: httpAddr,
ReadTimeout: 60 * time.Second, ReadHeaderTimeout: 60 * time.Second,
WriteTimeout: 30 * time.Second,
IdleTimeout: 120 * time.Second, IdleTimeout: 120 * time.Second,
} }
var err error var err error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment