Revert "Use two query executors"

This reverts commit 806a54bf11.
This commit is contained in:
M66B 2020-05-31 11:36:01 +02:00
parent 806a54bf11
commit c14454e162
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public abstract class DB extends RoomDatabase {
private static DB sInstance;
private static final ExecutorService executor =
Helper.getBackgroundExecutor(2, "query"); // AndroidX default thread count
Helper.getBackgroundExecutor(4, "query"); // AndroidX default thread count
private static final String DB_NAME = "fairemail";
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default