mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 改进重建索引
This commit is contained in:
@@ -506,7 +506,6 @@ func ReloadUI() {
|
||||
|
||||
func FullReindex() {
|
||||
task.PrependTask(task.DatabaseIndexFull, fullReindex)
|
||||
task.AppendTask(task.DatabaseIndexRef, IndexRefs)
|
||||
}
|
||||
|
||||
func fullReindex() {
|
||||
@@ -527,6 +526,7 @@ func fullReindex() {
|
||||
sql.EnableCache()
|
||||
treenode.SaveBlockTree(true)
|
||||
LoadFlashcards()
|
||||
IndexRefs()
|
||||
debug.FreeOSMemory()
|
||||
util.ReloadUI()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user