Fix :memory: database connection pool issue (bd-b121)

- Add db.SetMaxOpenConns(1) for :memory: databases
- SQLite shared cache mode requires single connection
- Fixes 'no such table' errors in VC and other consumers
- See bd-b121 for full details

Amp-Thread-ID: https://ampcode.com/threads/T-bbbb8f17-5ac0-4125-9035-e5488d3ebab1
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-11-04 00:59:22 -08:00
parent 636d15e4c0
commit b1aec38b46
2 changed files with 11 additions and 3 deletions

File diff suppressed because one or more lines are too long