Use four query executors

pull/178/head
M66B 5 years ago
parent 3e96e50aff
commit c6965b19ea

@ -108,7 +108,7 @@ public abstract class DB extends RoomDatabase {
private static DB sInstance;
private static final ExecutorService executor =
Helper.getBackgroundExecutor(1, "query");
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

Loading…
Cancel
Save