Adding caching to get channel member (#5518)

This commit is contained in:
Christopher Speller
2017-02-24 09:15:36 -05:00
committed by Corey Hulen
parent 7fc5dc236a
commit ba028ed74b
8 changed files with 67 additions and 13 deletions

View File

@@ -20,6 +20,7 @@ type ClusterInterface interface {
InvalidateCacheForChannelMembersNotifyProps(channelId string)
InvalidateCacheForChannelPosts(channelId string)
InvalidateCacheForWebhook(webhookId string)
InvalidateCacheForChannelMember(channelId string, userId string)
Publish(event *model.WebSocketEvent)
UpdateStatus(status *model.Status)
GetLogs() ([]string, *model.AppError)