Skip to content

whatsapp: add WAL mode and busy_timeout to SQLite DSN - #251

Open
anish749 wants to merge 1 commit into
mainfrom
fix-whatsapp-sqlite-busy
Open

whatsapp: add WAL mode and busy_timeout to SQLite DSN#251
anish749 wants to merge 1 commit into
mainfrom
fix-whatsapp-sqlite-busy

Conversation

@anish749

Copy link
Copy Markdown
Owner

Adds busy_timeout(5000) and journal_mode(WAL) pragmas to the WhatsApp
SQLite DSN in all three connection sites. Prevents SQLITE_BUSY errors
under concurrent access that cause sender key saves to fail, leading
to permanent message decryption failures.

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.

1 participant