Add caching for file infos (#5330)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
eb767d2c1c
Коммит
487bb56a9b
@@ -326,7 +326,8 @@ type FileInfoStore interface {
|
||||
Save(info *model.FileInfo) StoreChannel
|
||||
Get(id string) StoreChannel
|
||||
GetByPath(path string) StoreChannel
|
||||
GetForPost(postId string) StoreChannel
|
||||
GetForPost(postId string, allowFromCache bool) StoreChannel
|
||||
InvalidateFileInfosForPostCache(postId string)
|
||||
AttachToPost(fileId string, postId string) StoreChannel
|
||||
DeleteForPost(postId string) StoreChannel
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user