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