mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
parent
6495574fea
commit
8e6628cfa2
7 changed files with 15 additions and 9 deletions
|
|
@ -50,7 +50,7 @@ type dbQueueOperation struct {
|
|||
func AutoFlushTx() {
|
||||
for {
|
||||
time.Sleep(util.SQLFlushInterval)
|
||||
task.PrependTask(task.DatabaseIndex, FlushQueue)
|
||||
task.PrependTask(task.DatabaseIndexCommit, FlushQueue)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue