diff options
author | Giteabot <teabot@gitea.io> | 2024-05-27 22:23:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 14:23:47 +0000 |
commit | b0981f6509d8d9385264ab1e457986352a2ece7d (patch) | |
tree | abd51a0818cf199eb151436b78e02979919a5e9f | |
parent | 7f706bd17116854202d7f25424950733ffbdb9fc (diff) | |
download | gitea-b0981f6509d8d9385264ab1e457986352a2ece7d.tar.gz gitea-b0981f6509d8d9385264ab1e457986352a2ece7d.zip |
Fix missing memcache import (#31105) (#31109)
Backport #31105 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
-rw-r--r-- | modules/cache/cache.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cache/cache.go b/modules/cache/cache.go index 2ca77bdb29..0753671158 100644 --- a/modules/cache/cache.go +++ b/modules/cache/cache.go @@ -8,6 +8,8 @@ import ( "time" "code.gitea.io/gitea/modules/setting" + + _ "gitea.com/go-chi/cache/memcache" //nolint:depguard // memcache plugin for cache, it is required for config "ADAPTER=memcache" ) var defaultCache StringCache |