Skip to content

Commit a72448c

Browse files
committed
added config and update
1 parent d439094 commit a72448c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

revel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func Init(mode, importPath, srcPath string) {
156156
// 1. framework (revel/conf/*)
157157
// 2. application (conf/*)
158158
// 3. user supplied configs (...) - User configs can override/add any from above
159-
ConfPaths := append(
159+
ConfPaths = append(
160160
[]string{
161161
path.Join(RevelPath, "conf"),
162162
path.Join(BasePath, "conf"),

skeleton/conf/app.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ session.expires = 720h
6969
format.date = 2006-01-02
7070
format.datetime = 2006-01-02 15:04
7171

72+
# Timeout specifies a time limit for request (in seconds) made by a single client.
73+
# A Timeout of zero means no timeout.
74+
timeout.read = 90
75+
timeout.write = 60
76+
7277

7378
# Determines whether the template rendering should use chunked encoding.
7479
# Chunked encoding can decrease the time to first byte on the client side by

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy