🎨编辑器动态加载块数由定值改为可配置 https://github.com/siyuan-note/siyuan/issues/6415

This commit is contained in:
Liang Ding 2022-10-31 10:01:25 +08:00
parent 41d0fa9257
commit 7aad51499b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 6 additions and 6 deletions

View file

@ -257,8 +257,8 @@ func InitConf() {
if 1 > Conf.Editor.HistoryRetentionDays {
Conf.Editor.HistoryRetentionDays = 7
}
if 128 > Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = 128
if 48 > Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = 48
}
if 1024 < Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = 1024