fix timeouts
This commit is contained in:
parent
cd04c2d16e
commit
3c174540df
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ func Start(_conf config.Config, tmplFS embed.FS, staticFS embed.FS, migrationsFS
|
||||||
server := &http.Server{
|
server := &http.Server{
|
||||||
Addr: conf.Server.Address,
|
Addr: conf.Server.Address,
|
||||||
Handler: mux,
|
Handler: mux,
|
||||||
ReadTimeout: 10 * time.Second,
|
ReadTimeout: time.Hour,
|
||||||
WriteTimeout: 10 * time.Second,
|
WriteTimeout: time.Hour,
|
||||||
IdleTimeout: 30 * time.Second,
|
IdleTimeout: 30 * time.Second,
|
||||||
ReadHeaderTimeout: 10 * time.Second,
|
ReadHeaderTimeout: 10 * time.Second,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue