]> source.dussan.org Git - gitea.git/commitdiff
fix cache dep API broken
authorUnknwon <joe2010xtmf@163.com>
Wed, 31 Dec 2014 09:08:57 +0000 (17:08 +0800)
committerUnknwon <joe2010xtmf@163.com>
Wed, 31 Dec 2014 09:08:57 +0000 (17:08 +0800)
cmd/web.go

index ddb34829b7373e6a8620143f42fae59178d1619d..51f146f374cef42679c59229d9c3ced8d28ef81c 100644 (file)
@@ -126,9 +126,9 @@ func newMacaron() *macaron.Macaron {
                Redirect:        true,
        }))
        m.Use(cache.Cacher(cache.Options{
-               Adapter:  setting.CacheAdapter,
-               Interval: setting.CacheInternal,
-               Conn:     setting.CacheConn,
+               Adapter:       setting.CacheAdapter,
+               AdapterConfig: setting.CacheConn,
+               Interval:      setting.CacheInternal,
        }))
        m.Use(captcha.Captchaer(captcha.Options{
                SubURL: setting.AppSubUrl,