mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Reduced number of query threads to 2
This commit is contained in:
parent
35f9654b13
commit
f85c184681
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public abstract class DB extends RoomDatabase {
|
|||
|
||||
private static DB sInstance;
|
||||
private static final ExecutorService executor =
|
||||
Helper.getBackgroundExecutor(4, "query"); // AndroidX default thread count
|
||||
Helper.getBackgroundExecutor(2, "query"); // AndroidX default thread count
|
||||
|
||||
private static final String DB_NAME = "fairemail";
|
||||
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default
|
||||
|
|
Loading…
Reference in a new issue