summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rhimportd/routeWeb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/routeWeb.go b/src/rhimportd/routeWeb.go
index 28bb082..687de0c 100644
--- a/src/rhimportd/routeWeb.go
+++ b/src/rhimportd/routeWeb.go
@@ -54,6 +54,6 @@ func StartWebRouter(addr, staticDir string, conf *rhimport.Config, db *rddb.DB,
http.Handle("/public/upload/", http.StripPrefix("/public/upload/", webHandler{conf, db, sessions, false, webUploadHandler}))
rhl.Println("web-router: listening on", addr)
- server := &http.Server{Addr: addr, ReadTimeout: 2 * time.Hour, WriteTimeout: 2 * time.Hour}
+ server := &http.Server{Addr: addr, ReadTimeout: 12 * time.Hour, WriteTimeout: 12 * time.Hour}
server.ListenAndServe()
}