mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
email_server: Use rollback journal for aliases sqlite DB
WAL journaling mode is causing problems with postfix unable to open the database despite ownership and permission changes. Default is the DELETE rollback journal mode. The former gives more performance but in our case, writes are very rare and the DB is used mostly just for reads. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
8d7bac70c9
commit
d6a9392704
@ -102,7 +102,6 @@ def first_setup():
|
||||
|
||||
# Create schema if not exists
|
||||
query = '''
|
||||
PRAGMA journal_mode=WAL;
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS alias (
|
||||
name TEXT NOT NULL,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user