mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
♻️ Improve database loading performance https://github.com/siyuan-note/siyuan/issues/12818
This commit is contained in:
parent
e674cfec70
commit
d675496e52
1 changed files with 0 additions and 2 deletions
|
|
@ -290,8 +290,6 @@ func BatchGetBlockAttrs(ids []string) (ret map[string]map[string]string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetBlockAttrs(id string) (ret map[string]string) {
|
func GetBlockAttrs(id string) (ret map[string]string) {
|
||||||
ret = map[string]string{}
|
|
||||||
|
|
||||||
ret = map[string]string{}
|
ret = map[string]string{}
|
||||||
if cached := cache.GetBlockIAL(id); nil != cached {
|
if cached := cache.GetBlockIAL(id); nil != cached {
|
||||||
ret = cached
|
ret = cached
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue