summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-01-29 15:47:46 +0800
committerGitHub <noreply@github.com>2020-01-29 09:47:46 +0200
commit79ce91fddee549514c98f002b719fc8cda0e380f (patch)
tree56271e8e73b238bfee415a64d73d1272c67fef3a /modules/cache
parentc09e020558318feebbdce477f91c94411e8959b6 (diff)
downloadgitea-79ce91fddee549514c98f002b719fc8cda0e380f.tar.gz
gitea-79ce91fddee549514c98f002b719fc8cda0e380f.zip
Movde dependents on macaron from modules/setting (#10050)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/cache.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/cache/cache.go b/modules/cache/cache.go
index ceb5772fcf..20d23f3b5b 100644
--- a/modules/cache/cache.go
+++ b/modules/cache/cache.go
@@ -11,6 +11,9 @@ import (
"code.gitea.io/gitea/modules/setting"
mc "gitea.com/macaron/cache"
+
+ _ "gitea.com/macaron/cache/memcache" // memcache plugin for cache
+ _ "gitea.com/macaron/cache/redis"
)
var conn mc.Cache