Skip to content

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

:art: 数据库事务队列执行报错回滚释放连接

Liang Dingc5c9884d3881
diff --git a/kernel/sql/queue.go b/kernel/sql/queue.go
index 25447d1978..7ac078ae2d 100644
--- a/kernel/sql/queue.go
+++ b/kernel/sql/queue.go
@@ -120,7 +120,7 @@ func FlushQueue() {
if err = execOp(op, tx, context); nil != err {
tx.Rollback()
logging.LogErrorf("queue operation failed: %s", err)
- return
+ continue
}
if err = commitTx(tx); nil != err {