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/6677
This commit is contained in:
@@ -81,6 +81,10 @@ func isWritingDatabase() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func IsEmptyQueue() bool {
|
||||
return 1 > len(operationQueue) && !util.IsMutexLocked(&txLock)
|
||||
}
|
||||
|
||||
func flushTreeQueue() {
|
||||
ops := mergeUpsertTrees()
|
||||
if 1 > len(ops) {
|
||||
|
||||
Reference in New Issue
Block a user