mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
@@ -54,7 +54,7 @@ type dbQueueOperation struct {
|
||||
func AutoFlushTx() {
|
||||
for {
|
||||
time.Sleep(util.SQLFlushInterval)
|
||||
task.PrependTask(task.DatabaseIndexCommit, FlushQueue)
|
||||
task.AppendTask(task.DatabaseIndexCommit, FlushQueue)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user