⚡ 优化清理未引用资源内存占用 https://github.com/siyuan-note/siyuan/issues/5200
This commit is contained in:
parent
cef4cc2e3f
commit
3e16710b87
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ func UnusedAssets() (ret []string) {
|
|||
dests := map[string]bool{}
|
||||
|
||||
// 分页加载,优化清理未引用资源内存占用 https://github.com/siyuan-note/siyuan/issues/5200
|
||||
pages := pagedPaths(filepath.Join(util.DataDir, notebook.ID), 20)
|
||||
pages := pagedPaths(filepath.Join(util.DataDir, notebook.ID), 32)
|
||||
for _, paths := range pages {
|
||||
var trees []*parse.Tree
|
||||
for _, localPath := range paths {
|
||||
|
|
Loading…
Add table
Reference in a new issue