🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113

This commit is contained in:
Liang Ding 2023-01-25 20:26:48 +08:00
parent c130b01f28
commit 6b356ba226
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -312,7 +312,7 @@ func ReindexBlockTree(tree *parse.Tree) {
func AutoFlushBlockTree() {
for {
SaveBlockTree(false)
time.Sleep(7 * time.Second)
time.Sleep(1 * time.Second)
}
}