PLT-4982 Adding caching to user profiles (#4782)

Этот коммит содержится в:
Corey Hulen
2016-12-13 19:23:36 -08:00
коммит произвёл enahum
родитель 51b794501e
Коммит aacbe99548
5 изменённых файлов: 92 добавлений и 8 удалений

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

@@ -2735,7 +2735,7 @@ func getProfilesByIds(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
if result := <-Srv.Store.User().GetProfileByIds(userIds); result.Err != nil {
if result := <-Srv.Store.User().GetProfileByIds(userIds, true); result.Err != nil {
c.Err = result.Err
return
} else {