summaryrefslogtreecommitdiffstats
path: root/einterfaces/cluster.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-13 22:24:24 -0500
committerenahum <nahumhbl@gmail.com>2016-12-14 00:24:24 -0300
commit86fb0d87a3a09b237bec124ce0e74cd05aa164be (patch)
treedab6753888596cc2ba8df8c273ced364bff6b26d /einterfaces/cluster.go
parent2e58f7504b79fc85d43468ffa06954a23221ea32 (diff)
downloadchat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.tar.gz
chat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.tar.bz2
chat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.zip
Adding caching layer to some posts calls (#4779)
Diffstat (limited to 'einterfaces/cluster.go')
-rw-r--r--einterfaces/cluster.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/einterfaces/cluster.go b/einterfaces/cluster.go
index 43ce46280..0d7bf7e86 100644
--- a/einterfaces/cluster.go
+++ b/einterfaces/cluster.go
@@ -14,6 +14,8 @@ type ClusterInterface interface {
GetClusterStats() ([]*model.ClusterStats, *model.AppError)
RemoveAllSessionsForUserId(userId string)
InvalidateCacheForUser(userId string)
+ InvalidateCacheForChannel(channelId string)
+ InvalidateCacheForChannelPosts(channelId string)
Publish(event *model.WebSocketEvent)
UpdateStatus(status *model.Status)
GetLogs() ([]string, *model.AppError)