From aacbe995483b694e169acdc63136171dff3725d9 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Tue, 13 Dec 2016 19:23:36 -0800 Subject: PLT-4982 Adding caching to user profiles (#4782) --- store/store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index ffc325eea..236fbbc13 100644 --- a/store/store.go +++ b/store/store.go @@ -155,7 +155,8 @@ type UserStore interface { GetProfilesByUsernames(usernames []string, teamId string) StoreChannel GetAllProfiles(offset int, limit int) StoreChannel GetProfiles(teamId string, offset int, limit int) StoreChannel - GetProfileByIds(userId []string) StoreChannel + GetProfileByIds(userId []string, allowFromCache bool) StoreChannel + InvalidatProfileCacheForUser(userId string) GetByEmail(email string) StoreChannel GetByAuth(authData *string, authService string) StoreChannel GetAllUsingAuthService(authService string) StoreChannel -- cgit v1.2.3-1-g7c22