mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-25 06:35:21 +00:00
Read-then-write transactions began deferred. SQLite returns SQLITE_BUSY for these at once and ignores busy_timeout, so concurrent requests logged "database is locked". The DSN now sets _txlock=immediate and a 15 s busy_timeout, so writers queue. A concurrency test covers this.