1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Relax web server timeouts.

This commit is contained in:
Juliusz Chroboczek 2020-05-31 16:49:54 +02:00
parent 57e08201ab
commit 8472f9bf0b

View file

@ -31,8 +31,7 @@ func webserver() {
go func() {
server := &http.Server{
Addr: httpAddr,
ReadTimeout: 60 * time.Second,
WriteTimeout: 30 * time.Second,
ReadHeaderTimeout: 60 * time.Second,
IdleTimeout: 120 * time.Second,
}
var err error