MM-21210: Add LRU cache for ChannelStore.GetMembersForUser (#13593)

Automatic Merge
Этот коммит содержится в:
Agniva De Sarker
2020-01-13 21:16:51 +05:30
коммит произвёл mattermod
родитель 8b24b26cb0
Коммит 0361e8b97e
8 изменённых файлов: 314 добавлений и 27 удалений

Просмотреть файл

@@ -1173,6 +1173,16 @@ func (_m *ChannelStore) InvalidateMemberCount(channelId string) {
_m.Called(channelId)
}
// InvalidateMembersForAllUsers provides a mock function with given fields:
func (_m *ChannelStore) InvalidateMembersForAllUsers() {
_m.Called()
}
// InvalidateMembersForUser provides a mock function with given fields: userId
func (_m *ChannelStore) InvalidateMembersForUser(userId string) {
_m.Called(userId)
}
// InvalidatePinnedPostCount provides a mock function with given fields: channelId
func (_m *ChannelStore) InvalidatePinnedPostCount(channelId string) {
_m.Called(channelId)