Stage 1 of caching layer. Framework (#6693)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
28bf900205
Коммит
9659a6da06
@@ -17,10 +17,10 @@ const (
|
||||
var emojiCache *utils.Cache = utils.NewLru(EMOJI_CACHE_SIZE)
|
||||
|
||||
type SqlEmojiStore struct {
|
||||
*SqlStore
|
||||
SqlStore
|
||||
}
|
||||
|
||||
func NewSqlEmojiStore(sqlStore *SqlStore) EmojiStore {
|
||||
func NewSqlEmojiStore(sqlStore SqlStore) EmojiStore {
|
||||
s := &SqlEmojiStore{sqlStore}
|
||||
|
||||
for _, db := range sqlStore.GetAllConns() {
|
||||
|
||||
Ссылка в новой задаче
Block a user