Merge 3.6.2 into master (#5211)

* Add webhook cache

* Add channel by name cache

* Fxing profiles in channels cache

* Fix merge
This commit is contained in:
Joram Wilander
2017-01-27 14:07:34 -05:00
committed by GitHub
parent 8eab04e944
commit 097289f8e4
19 changed files with 173 additions and 51 deletions

View File

@@ -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)