Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2d2481d authored by Jesse Chan's avatar Jesse Chan Committed by Francescodario Cuzzocrea
Browse files

universal889: overlay: configure SQLite to operate in MEMORY mode



This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Signed-off-by: default avatarJesse Chan <jc@lineageos.org>
Change-Id: I7b5d669595eff9ed863e229af30f9b807d5d3654
parent 481f84bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -944,7 +944,7 @@
         and less churn of the storage media.
         The PERSIST mode results in data persisting in the journal beyond the life of
         a transaction, so it interacts poorly with SECURE_DELETE. -->
    <string name="db_default_journal_mode" translatable="false">PERSIST</string>
    <string name="db_default_journal_mode" translatable="false">MEMORY</string>

    <!-- The database synchronization mode when using the default journal mode.
         FULL is safest and preserves durability at the cost of extra fsyncs.