mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 书签和标签面板刷新不再等待
This commit is contained in:
parent
e08d621da7
commit
19d6c50535
2 changed files with 0 additions and 4 deletions
|
|
@ -158,8 +158,6 @@ func BuildBookmark() (ret *Bookmarks) {
|
||||||
WaitForWritingFiles()
|
WaitForWritingFiles()
|
||||||
if !sql.IsEmptyQueue() {
|
if !sql.IsEmptyQueue() {
|
||||||
sql.WaitForWritingDatabase()
|
sql.WaitForWritingDatabase()
|
||||||
} else {
|
|
||||||
util.RandomSleep(200, 500)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = &Bookmarks{}
|
ret = &Bookmarks{}
|
||||||
|
|
|
||||||
|
|
@ -212,8 +212,6 @@ func BuildTags() (ret *Tags) {
|
||||||
WaitForWritingFiles()
|
WaitForWritingFiles()
|
||||||
if !sql.IsEmptyQueue() {
|
if !sql.IsEmptyQueue() {
|
||||||
sql.WaitForWritingDatabase()
|
sql.WaitForWritingDatabase()
|
||||||
} else {
|
|
||||||
util.RandomSleep(200, 500)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = &Tags{}
|
ret = &Tags{}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue