知微
59e94d135c
fix: 盘中脚本统一使用get_conn()替代raw sqlite3.connect防DB死锁
- mofin_health.py, cron_health_monitor.py, intraday_health_check.py,
self_todo_executor.py: 替换raw sqlite3.connect() → get_conn()
统一使用WAL模式+busy_timeout=30s连接
- mofin_db.py: get_conn()每次新建连接时WAL checkpoint
防止被kill进程残留WAL导致后续全部卡死
- 并发测试验证: 3x price_monitor + 3x mofin_health同时运行
6/6通过,WAL仅32bytes
关联问题: 2026-07-14 SQLite写锁死锁根因诊断
2026-07-14 10:56:38 +08:00
..
2026-07-06 12:02:11 +08:00
2026-07-14 10:56:38 +08:00
2026-07-04 10:22:51 +08:00
2026-07-03 23:34:52 +08:00
2026-07-04 09:57:18 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 09:36:48 +08:00
2026-07-04 10:22:51 +08:00
2026-07-04 10:22:51 +08:00