Skip to content

Commit

Permalink
Fix missing memcache import (#31105)
Browse files Browse the repository at this point in the history
Fix #31102
  • Loading branch information
wxiaoguang authored May 27, 2024
1 parent c0880e7 commit 20c4025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20c4025

Please sign in to comment.