]> source.dussan.org Git - gitea.git/commitdiff
Fix missing memcache import (#31105) (#31109)
authorGiteabot <teabot@gitea.io>
Mon, 27 May 2024 14:23:47 +0000 (22:23 +0800)
committerGitHub <noreply@github.com>
Mon, 27 May 2024 14:23:47 +0000 (14:23 +0000)
Backport #31105 by wxiaoguang

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
modules/cache/cache.go

index 2ca77bdb29f373bb892e6fae8205f0358be9e4b6..075367115803a46bee8199db292245d2eac60cd1 100644 (file)
@@ -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