- Add internal mutex to Database struct with lock/unlock wrappers - Add debug logging for lock acquisition and release with timing - Wrap all write operations with database mutex - Use _txlock=immediate in SQLite connection string This works around apparent issues with SQLite's internal locking not properly respecting busy_timeout in production environment. |
||
---|---|---|
cmd | ||
docs | ||
internal | ||
pkg/asinfo | ||
.gitignore | ||
.golangci.yml | ||
CLAUDE.md | ||
go.mod | ||
go.sum | ||
log.txt | ||
Makefile |