pickle -> sqlite store: D6 async writes, D9 reload race, one-shot pickle migration
This commit is contained in:
@@ -36,3 +36,10 @@ Decisions inside the set architecture. D-NNN, never renumbered.
|
||||
repair path is gone; the whole translate-before-draw step dies in
|
||||
FDB-009 (gpt-image-2 is multilingual). Not worth a config rename
|
||||
for one phase.
|
||||
- **D-010** — Persistence uses stdlib `sqlite3` via
|
||||
`asyncio.to_thread`, not aiosqlite: no new dependency, and a
|
||||
connection-per-operation with WAL is plenty at this message volume.
|
||||
- **D-011** — `save_history` replaces the channel's rows wholesale
|
||||
per message instead of appending: histories are capped at
|
||||
`history-limit` (~200-350 rows) and trims must be reflected;
|
||||
correctness over micro-optimization.
|
||||
|
||||
Reference in New Issue
Block a user