Browse Source

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

Daniel 9 tháng trước cách đây
mục cha
commit
d675496e52
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      kernel/sql/block.go

+ 0 - 2
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