Skip to content

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

:bug: 索引嵌入块内容可能会导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/7213

Liang Ding2a332535912d
diff --git a/kernel/sql/block_query.go b/kernel/sql/block_query.go
index 0d0f22c0c5..c368e382ab 100644
--- a/kernel/sql/block_query.go
+++ b/kernel/sql/block_query.go
@@ -478,7 +478,7 @@ func selectBlocksRawStmt(stmt string, limit int) (ret []*Block) {
errCount++
}
- if (confLimit && limit < count) || 7 < errCount {
+ if (confLimit && limit < count) || 3 < errCount {
break
}
}