Skip to content

feat: use WAL mode for the library database - #1525

Open
CyanVoxel wants to merge 1 commit into
devfrom
feat/db-wal-mode
Open

CyanVoxel wants to merge 1 commit into
devfrom
feat/db-wal-mode

Conversation

@CyanVoxel

Copy link
Copy Markdown
Member

Note

This PR is targeting the dev branch for release with Alpha v9.7.

Summary

This PR sets the library database to use WAL mode to allow for concurrent reads without locking the database file, and possibly boosting commit performance. I've purposely left library backups to not be saved with WAL mode set so they can be read without creating -wal/-shm files.
Closes #991.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.7.0 milestone Oct 2, 2026
@CyanVoxel CyanVoxel added Type: Feature New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion TagStudio: Library Relating to the TagStudio library system Type: Performance An issue or change related to performance labels Oct 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TagStudio: Library Relating to the TagStudio library system Type: Feature New feature or request Type: Performance An issue or change related to performance Type: QoL A quality of life (QoL) enhancement or suggestion

Projects

Status: 🍃 Pending Merge

Development

Successfully merging this pull request may close these issues.

1 participant