diff options
author | skyblue <ssx205@gmail.com> | 2014-03-21 23:36:01 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-03-21 23:36:01 +0800 |
commit | 9a9ae918c527fb04a1f181ad6f967d5969b93c15 (patch) | |
tree | 789d624fcc6949940ae1621bd0fe051578363efc /conf | |
parent | d725c41b56e072122faf539d5a14d36c18f5c312 (diff) | |
parent | 9218f76c8e4a6fafbe6bed1d61eb66ba73bf70f2 (diff) | |
download | gitea-9a9ae918c527fb04a1f181ad6f967d5969b93c15.tar.gz gitea-9a9ae918c527fb04a1f181ad6f967d5969b93c15.zip |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/conf/app.ini b/conf/app.ini index 71fe81e834..ecb0d2511f 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -61,8 +61,14 @@ USER = PASSWD = [cache] +; Either "memory", "redis", or "memcache", default is "memory" ADAPTER = memory -CONFIG = +; For "memory" only, GC interval in seconds, default is 60 +INTERVAL = 60 +; For "redis" and "memcache", connection host address +; redis: ":6039" +; memcache: "127.0.0.1:11211" +HOST = [log] ; Either "console", "file", "conn" or "smtp", default is "console" |