Increased sqlite cache size

pull/194/merge
Marcel Bokhorst 3 years ago committed by GitHub
parent 419b983677
commit 27423cf85c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 = 7; // percentage of memory class
static final int DEFAULT_CACHE_SIZE = 10; // percentage of memory class
private static final String DB_NAME = "fairemail";
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default

Loading…
Cancel
Save