summaryrefslogtreecommitdiffstats
path: root/einterfaces/cluster.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-27 14:07:34 -0500
committerGitHub <noreply@github.com>2017-01-27 14:07:34 -0500
commit097289f8e473c799ee752aa56e08f605110f5217 (patch)
tree424cd42d691b28d1c08852dc02a69d69f2b70a65 /einterfaces/cluster.go
parent8eab04e944b3874f1fc4985344cbccec84c6002a (diff)
downloadchat-097289f8e473c799ee752aa56e08f605110f5217.tar.gz
chat-097289f8e473c799ee752aa56e08f605110f5217.tar.bz2
chat-097289f8e473c799ee752aa56e08f605110f5217.zip
Merge 3.6.2 into master (#5211)
* Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
Diffstat (limited to 'einterfaces/cluster.go')
-rw-r--r--einterfaces/cluster.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/einterfaces/cluster.go b/einterfaces/cluster.go
index 6cf57308c..5ecee0b16 100644
--- a/einterfaces/cluster.go
+++ b/einterfaces/cluster.go
@@ -15,7 +15,10 @@ type ClusterInterface interface {
ClearSessionCacheForUser(userId string)
InvalidateCacheForUser(userId string)
InvalidateCacheForChannel(channelId string)
+ InvalidateCacheForChannelByName(teamId, name string)
+ InvalidateCacheForChannelMembers(channelId string)
InvalidateCacheForChannelPosts(channelId string)
+ InvalidateCacheForWebhook(webhookId string)
Publish(event *model.WebSocketEvent)
UpdateStatus(status *model.Status)
GetLogs() ([]string, *model.AppError)