feat: add sqlite checkpoint fallback switch

This commit is contained in:
吉鑫升 committed 2026-06-05 17:28:44 +08:00
1 parent 690d09a3d1
commit f3def88342
4 files changed
+68 -18

No files matched your search

@@ -220,7 +220,11 @@ database:
checkpointer:
type: postgres
# true: 新 checkpoint 写入 Postgres;false: 保留 PG 配置但继续使用 SQLite。
# 也可临时用环境变量 DEER_FLOW_USE_PG_CHECKPOINTER=0 覆盖。
use_postgres: true
connection_string: postgresql://postgres:postgres123@47.88.25.99:8432/deerflow
sqlite_connection_string: .deer-flow/data/deerflow.db
dual_read_enabled: true
dual_read_sqlite_paths:
- .deer-flow/data/deerflow.db