sneak ddb3cfa4f0 Add mutex to serialize database access
- 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.
2025-07-28 17:56:26 +02:00
2025-07-28 17:56:26 +02:00
S
Description
No description provided
MIT
38 MiB
Languages
Go 86.4%
HTML 10.2%
Shell 2.3%
Dockerfile 0.9%
Makefile 0.2%