Commit ec96a52
committed
Add busy_timeout to the local libSQL connection
Match the self-host open path: a per-connection PRAGMA busy_timeout=5000 gives
writers a 5s retry window instead of an instant SQLITE_BUSY when a second OS
process transiently holds the write lock (a CLI tool, the v1->v2 migration
reader, or a launchd restart racing the old pid).1 parent ce39ffc commit ec96a52
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
0 commit comments