PLT-5308 Caching layer part 2 (#6973)
* Adding Reaction store cache layer example * Implementing reaction store in new caching system. * Redis for reaction store * Adding redis library * Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6f4e38d129
Коммит
09b49c26dd
@@ -379,8 +379,6 @@ type FileInfoStore interface {
|
||||
type ReactionStore interface {
|
||||
Save(reaction *model.Reaction) StoreChannel
|
||||
Delete(reaction *model.Reaction) StoreChannel
|
||||
InvalidateCacheForPost(postId string)
|
||||
InvalidateCache()
|
||||
GetForPost(postId string, allowFromCache bool) StoreChannel
|
||||
DeleteAllWithEmojiName(emojiName string) StoreChannel
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user