Skip to content

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

:recycle: Improve database loading performance https://github.com/siyuan-note/siyuan/issues/12818

Danield675496e52a2
diff --git a/kernel/sql/block.go b/kernel/sql/block.go
index 86343ca576..dc37216a3a 100644
--- a/kernel/sql/block.go
+++ b/kernel/sql/block.go
@@ -290,8 +290,6 @@ func BatchGetBlockAttrs(ids []string) (ret map[string]map[string]string) {
}
func GetBlockAttrs(id string) (ret map[string]string) {
- ret = map[string]string{}
-
ret = map[string]string{}
if cached := cache.GetBlockIAL(id); nil != cached {
ret = cached