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: Jesse Chan <jc@lineageos.org> Signed-off-by: DennySPb <dennyspb@gmail.com> Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
This commit is contained in:
parent
cdd81c7801
commit
224544bcb7
1 changed files with 5 additions and 0 deletions
|
@ -486,4 +486,9 @@
|
|||
<string-array name="config_biometric_sensors" translatable="false" >
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</string-array>
|
||||
|
||||
<!-- SQLite -->
|
||||
<string name="db_default_journal_mode">MEMORY</string>
|
||||
<string name="db_default_sync_mode">OFF</string>
|
||||
<string name="db_wal_sync_mode">OFF</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue