Commit 17e857b
fix: add SQLite busy_timeout and detailed error messages
- Set busy_timeout=5000ms to handle concurrent write contention
instead of failing immediately with SQLITE_BUSY
- Return actual error message in usage report API response
to help diagnose server-side failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 05d670d commit 17e857b
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments