Simplified executors

This commit is contained in:
M66B
2023-01-13 17:38:41 +01:00
parent 3e6ed3cb04
commit 51f3f150d7
9 changed files with 26 additions and 28 deletions

View File

@@ -127,7 +127,7 @@ public abstract class DB extends RoomDatabase {
private static final int DB_CHECKPOINT = 1000; // requery/sqlite-android default
private static ExecutorService executor =
Helper.getBackgroundExecutor(1, 0, 3, "db");
Helper.getBackgroundExecutor(0, "db");
private static final String[] DB_TABLES = new String[]{
"identity", "account", "folder", "message", "attachment", "operation", "contact", "certificate", "answer", "rule", "search", "log"};