From d675496e52a20d95bb8d294750e41df1b3e4393f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 17 Oct 2024 23:45:46 +0800 Subject: [PATCH] :recycle: Improve database loading performance https://github.com/siyuan-note/siyuan/issues/12818 --- kernel/sql/block.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/sql/block.go b/kernel/sql/block.go index 86343ca57..dc37216a3 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