Stage 1 of caching layer. Framework (#6693)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
28bf900205
Коммит
9659a6da06
@@ -11,14 +11,14 @@ import (
|
||||
)
|
||||
|
||||
type SqlPreferenceStore struct {
|
||||
*SqlStore
|
||||
SqlStore
|
||||
}
|
||||
|
||||
const (
|
||||
FEATURE_TOGGLE_PREFIX = "feature_enabled_"
|
||||
)
|
||||
|
||||
func NewSqlPreferenceStore(sqlStore *SqlStore) PreferenceStore {
|
||||
func NewSqlPreferenceStore(sqlStore SqlStore) PreferenceStore {
|
||||
s := &SqlPreferenceStore{sqlStore}
|
||||
|
||||
for _, db := range sqlStore.GetAllConns() {
|
||||
|
||||
Ссылка в новой задаче
Block a user