users service: add sessions (#17744)
* users: add cache to service * reflect review comments
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0ae307808a
Коммит
24fb0033f4
@@ -168,7 +168,7 @@ func (s *Server) InvalidateAllCaches() *model.AppError {
|
||||
|
||||
func (s *Server) InvalidateAllCachesSkipSend() {
|
||||
mlog.Info("Purging all caches")
|
||||
s.sessionCache.Purge()
|
||||
s.userService.ClearAllUsersSessionCacheLocal()
|
||||
s.statusCache.Purge()
|
||||
s.Store.Team().ClearCaches()
|
||||
s.Store.Channel().ClearCaches()
|
||||
|
||||
Ссылка в новой задаче
Block a user