Significantly increased timeouts so clear_cache doesn't error out
This commit is contained in:
parent
d2368884b7
commit
9c668ea04d
|
@ -11,7 +11,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Version string = "0.51.2"
|
||||
Version string = "0.51.3"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1089,8 +1089,9 @@ func ServePage(args []string) error {
|
|||
srv := &http.Server{
|
||||
Addr: net.JoinHostPort(bind, strconv.FormatInt(int64(port), 10)),
|
||||
Handler: mux,
|
||||
IdleTimeout: 10 * time.Minute,
|
||||
ReadTimeout: 5 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
WriteTimeout: 5 * time.Minute,
|
||||
}
|
||||
|
||||
err = srv.ListenAndServe()
|
||||
|
|
Loading…
Reference in New Issue