Increase http server timeout values
This commit is contained in:
parent
4e07b549a2
commit
cc281f3533
1 changed files with 3 additions and 3 deletions
|
@ -35,9 +35,9 @@ func Serve(store *storage.Storage, pool *worker.Pool, feedHandler *feed.Handler)
|
|||
certCache := config.Opts.CertCache()
|
||||
listenAddr := config.Opts.ListenAddr()
|
||||
server := &http.Server{
|
||||
ReadTimeout: 30 * time.Second,
|
||||
WriteTimeout: 30 * time.Second,
|
||||
IdleTimeout: 60 * time.Second,
|
||||
ReadTimeout: 300 * time.Second,
|
||||
WriteTimeout: 300 * time.Second,
|
||||
IdleTimeout: 300 * time.Second,
|
||||
Handler: setupHandler(store, feedHandler, pool),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue