MM-21210: Add LRU cache for ChannelStore.GetMembersForUser (#13593)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
mattermod
родитель
8b24b26cb0
Коммит
0361e8b97e
3
services/cache/cache.go
поставляемый
3
services/cache/cache.go
поставляемый
@@ -31,6 +31,9 @@ type Cache interface {
|
||||
// Remove deletes the value for a key.
|
||||
Remove(key interface{})
|
||||
|
||||
// RemoveByPrefix deletes all keys containing the given prefix string.
|
||||
RemoveByPrefix(prefix string)
|
||||
|
||||
// Keys returns a slice of the keys in the cache.
|
||||
Keys() []interface{}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user