Configure SQLite busy timeout and WAL mode #54

Open
joelyoder wants to merge 3 commits from codex/fix-database-locking-issue-during-scan into main
joelyoder commented 2025-09-07 09:24:22 -04:00 (Migrated from github.com)

Summary

  • set a busy timeout and enable WAL mode when opening the database to reduce database is locked errors during large scans

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_e_68bd84826efc8332850438eebd11ad72

## Summary - set a busy timeout and enable WAL mode when opening the database to reduce `database is locked` errors during large scans ## Testing - `go test ./...` ------ https://chatgpt.com/codex/tasks/task_e_68bd84826efc8332850438eebd11ad72
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/fix-database-locking-issue-during-scan:codex/fix-database-locking-issue-during-scan
git switch codex/fix-database-locking-issue-during-scan

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff codex/fix-database-locking-issue-during-scan
git switch codex/fix-database-locking-issue-during-scan
git rebase main
git switch main
git merge --ff-only codex/fix-database-locking-issue-during-scan
git switch codex/fix-database-locking-issue-during-scan
git rebase main
git switch main
git merge --no-ff codex/fix-database-locking-issue-during-scan
git switch main
git merge --squash codex/fix-database-locking-issue-during-scan
git switch main
git merge --ff-only codex/fix-database-locking-issue-during-scan
git switch main
git merge codex/fix-database-locking-issue-during-scan
git push origin main
Sign in to join this conversation.
No description provided.