diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rhimportd/ctrlWeb.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/ctrlWeb.go b/src/rhimportd/ctrlWeb.go index 2b52ef0..9965662 100644 --- a/src/rhimportd/ctrlWeb.go +++ b/src/rhimportd/ctrlWeb.go @@ -54,6 +54,6 @@ func StartControlWeb(addr, staticDir string, uploadMaxAge time.Duration, conf *r go webUploadCleaner(conf, uploadMaxAge) rhl.Println("web-ctrl: listening on", addr) - server := &http.Server{Addr: addr, ReadTimeout: 60 * time.Second, WriteTimeout: 60 * time.Second} + server := &http.Server{Addr: addr, ReadTimeout: 2 * time.Hour, WriteTimeout: 1 * time.Minute} server.ListenAndServe() } |