From 86fb0d87a3a09b237bec124ce0e74cd05aa164be Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 13 Dec 2016 22:24:24 -0500 Subject: Adding caching layer to some posts calls (#4779) --- einterfaces/cluster.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'einterfaces/cluster.go') 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) -- cgit v1.2.3-1-g7c22