aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorThibault Meyer <0xbaadf00d@users.noreply.github.com>2016-08-11 14:59:11 +0200
committer无闻 <u@gogs.io>2016-08-11 05:59:11 -0700
commit6a81632e36a1ba36d315059cfb69c063cab237f1 (patch)
tree58e85cf7e9aef07bd879eecb45ed2a6a7f4ceda8 /cmd
parentb756806ee99f28c4fa6ff824037f92800af4bf72 (diff)
downloadgitea-6a81632e36a1ba36d315059cfb69c063cab237f1.tar.gz
gitea-6a81632e36a1ba36d315059cfb69c063cab237f1.zip
Fix typo CacheInternal -> CacheInterval (#3432)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index f2f7279bf0..f01b027831 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -157,7 +157,7 @@ func newMacaron() *macaron.Macaron {
m.Use(cache.Cacher(cache.Options{
Adapter: setting.CacheAdapter,
AdapterConfig: setting.CacheConn,
- Interval: setting.CacheInternal,
+ Interval: setting.CacheInterval,
}))
m.Use(captcha.Captchaer(captcha.Options{
SubURL: setting.AppSubUrl,