Skip to content

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

:art: The default number of dynamically loaded blocks is adjusted from 128 to 192

Daniel62ccbcea67d5
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index e94254d503..c60ba1793e 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -199,7 +199,7 @@ func InitConf() {
Conf.Editor.Emoji = []string{}
}
if 1 > Conf.Editor.BlockRefDynamicAnchorTextMaxLen {
- Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 192
+ Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 64
}
if 5120 < Conf.Editor.BlockRefDynamicAnchorTextMaxLen {
Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 5120
@@ -312,7 +312,7 @@ func InitConf() {
Conf.Editor.HistoryRetentionDays = 7
}
if 48 > Conf.Editor.DynamicLoadBlocks {
- Conf.Editor.DynamicLoadBlocks = 48
+ Conf.Editor.DynamicLoadBlocks = 192
}
if 1024 < Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = 1024