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:
parent
57e08201ab
commit
8472f9bf0b
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue