- Use tx.QueryRow instead of db.QueryRow within transaction for media table check - Switch to WAL mode instead of OFF for better concurrency handling - Add busy_timeout pragma to wait up to 5 seconds if database is locked - Clear transaction variable after commit to prevent defer rollback issues |
||
|---|---|---|
| cmd/bsdaily | ||
| internal/bsdaily | ||
| go.mod | ||
| go.sum | ||
| schema.sql | ||