From d5fe2c82fd348b5f666321e67b279edaaffc6408 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 13 May 2020 14:44:23 +0200 Subject: [PATCH] Back to 4 query threads --- app/src/main/java/eu/faircode/email/DB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/DB.java b/app/src/main/java/eu/faircode/email/DB.java index ad4afc94c5..b6bd8f4a1a 100644 --- a/app/src/main/java/eu/faircode/email/DB.java +++ b/app/src/main/java/eu/faircode/email/DB.java @@ -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