mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-23 19:41:15 -05:00
This commit is contained in:
+2
-5
@@ -53,11 +53,8 @@ type dbQueueOperation struct {
|
||||
renameTreeOldHPath string // rename
|
||||
}
|
||||
|
||||
func AutoFlushTx() {
|
||||
for {
|
||||
time.Sleep(util.SQLFlushInterval)
|
||||
task.AppendTask(task.DatabaseIndexCommit, FlushQueue)
|
||||
}
|
||||
func FlushTxJob() {
|
||||
task.AppendTask(task.DatabaseIndexCommit, FlushQueue)
|
||||
}
|
||||
|
||||
func WaitForWritingDatabase() {
|
||||
|
||||
Reference in New Issue
Block a user