Fix missing memcache import (#31105)

Fix #31102
This commit is contained in:
wxiaoguang 2024-05-27 21:43:32 +08:00 committed by GitHub
parent c0880e7695
commit 20c40259f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import (
"time" "time"
"code.gitea.io/gitea/modules/setting" "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 var defaultCache StringCache