Skip to content

Conversation

@wojcik91
Copy link
Contributor

@wojcik91 wojcik91 commented Jul 9, 2025

Add some SQLite optimizations to avoid database locks:

  • reduce frequency of stats purges
  • enable WAL journaling mode
  • use more transactions

This also changes app startup to setup logging first to fix missing DB initialization logs.

Resolves #476

@wojcik91 wojcik91 requested a review from moubctez July 9, 2025 08:27
@wojcik91 wojcik91 self-assigned this Jul 9, 2025
@wojcik91 wojcik91 merged commit 263ea1d into dev Jul 9, 2025
2 checks passed
@wojcik91 wojcik91 deleted the fix_database_locking_errors branch July 9, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants