mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Increased default sqlite cache size
This commit is contained in:
parent
ecd99a08fd
commit
e46fb2c129
2 changed files with 2 additions and 2 deletions
|
@ -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 = 10; // percentage
|
||||
|
||||
private static final String DB_NAME = "fairemail";
|
||||
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default
|
||||
|
|
|
@ -704,7 +704,7 @@
|
|||
android:id="@+id/sbSqliteCache"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:max="20"
|
||||
android:max="50"
|
||||
android:min="0"
|
||||
android:progress="5"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
Loading…
Reference in a new issue