mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-12 22:43:28 +00:00
backport #21621 This is a performance regression from #18058 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
1 parent
a2a42cd5de
commit
b9dcf991b9
12 files changed
+172
-151
No files matched your search
@@ -9,3 +9,8 @@ const (
|
||||
KeyPictureDisableGravatar = "picture.disable_gravatar"
|
||||
KeyPictureEnableFederatedAvatar = "picture.enable_federated_avatar"
|
||||
)
|
||||
|
||||
// genSettingCacheKey returns the cache key for some configuration
|
||||
func genSettingCacheKey(key string) string {
|
||||
return "system.setting." + key
|
||||
}
|
||||
Reference in new issue
Block a user