mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
parent
9b28cdfdf1
commit
3158ec97b3
2 changed files with 5 additions and 2 deletions
|
|
@ -366,7 +366,7 @@ func SaveBlockTree(force bool) {
|
|||
}
|
||||
|
||||
start := time.Now()
|
||||
if blockTreesChanged.Before(start.Add(7 * time.Second)) {
|
||||
if blockTreesChanged.After(start.Add(-7 * time.Second)) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue