Files
SecScore/src-tauri
PANDA-JSR 2937043e40 fix: 复用本地 SQLite 连接池,修复偶发连接池耗尽
realtime_dual_write_sync 之前每次写命令都新建 sqlx 连接池并跑
migration,高频写入下导致 "pool timed out while waiting for an
open connection"。改为在 AppState 缓存启动时建立的本地 SQLite
连接并复用。同时把 execute_rule 里的冷却检查改到事务连接内
执行,避免事务开启时再额外借一条池连接。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-05 18:15:40 +08:00
..
2026-03-16 20:49:46 +08:00