From b0981f6509d8d9385264ab1e457986352a2ece7d Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 27 May 2024 22:23:47 +0800 Subject: [PATCH] Fix missing memcache import (#31105) (#31109) Backport #31105 by wxiaoguang Co-authored-by: wxiaoguang --- modules/cache/cache.go | 2 ++ 1 file changed, 2 insertions(+) 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