Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 书签和标签面板刷新不再等待

Liang Ding19d6c505350f
diff --git a/kernel/model/bookmark.go b/kernel/model/bookmark.go
index 9352b4e8e6..bc4601db50 100644
--- a/kernel/model/bookmark.go
+++ b/kernel/model/bookmark.go
@@ -158,8 +158,6 @@ func BuildBookmark() (ret *Bookmarks) {
WaitForWritingFiles()
if !sql.IsEmptyQueue() {
sql.WaitForWritingDatabase()
- } else {
- util.RandomSleep(200, 500)
}
ret = &Bookmarks{}
diff --git a/kernel/model/tag.go b/kernel/model/tag.go
index ddd06cf279..172403afe7 100644
--- a/kernel/model/tag.go
+++ b/kernel/model/tag.go
@@ -212,8 +212,6 @@ func BuildTags() (ret *Tags) {
WaitForWritingFiles()
if !sql.IsEmptyQueue() {
sql.WaitForWritingDatabase()
- } else {
- util.RandomSleep(200, 500)
}
ret = &Tags{}