mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45: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() {
|
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
|
||||||
|
|
Loading…
Reference in a new issue