mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 09:18:49 +01:00
♻️ Improve transaction flush
This commit is contained in:
parent
72d1a059ac
commit
8dd0629b9c
23 changed files with 69 additions and 82 deletions
|
|
@ -210,7 +210,7 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
|
|||
|
||||
func Outline(rootID string, preview bool) (ret []*Path, err error) {
|
||||
time.Sleep(util.FrontendQueueInterval)
|
||||
WaitForWritingFiles()
|
||||
FlushTxQueue()
|
||||
|
||||
ret = []*Path{}
|
||||
tree, _ := LoadTreeByBlockID(rootID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue