1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Set default sqlite cache size to 7%

This commit is contained in:
M66B 2021-10-16 12:52:53 +02:00
parent d3cece05c5
commit bf73ee3923

View file

@ -121,7 +121,7 @@ public abstract class DB extends RoomDatabase {
private static DB sInstance;
static final int DEFAULT_QUERY_THREADS = 4; // AndroidX default thread count: 4
static final int DEFAULT_CACHE_SIZE = 5; // percentage
static final int DEFAULT_CACHE_SIZE = 7; // percentage of memory class
private static final String DB_NAME = "fairemail";
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default