SQLite 'database is locked' in 2ms: Why busy_timeout Didn't Help
My overnight Claude batch threw sqlite3.OperationalError: database is locked 187 times. The connection had timeout=30 . The errors arrived in about 2 milliseconds. That gap is the whole story. If SQLite had waited 30 seconds and then given up, I'd have a contention problem. It gave up in 2ms. That…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-11 07:22 · DEV Community — AI
SQLite 'database is locked' in 2ms: Why busy_timeout Didn't Help