mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 12:24:26 +01:00
Run ROOM queries/transaction at foreground priority
This commit is contained in:
@@ -92,7 +92,7 @@ public abstract class DB extends RoomDatabase {
|
||||
public abstract DaoLog log();
|
||||
|
||||
private static DB sInstance;
|
||||
private static ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
||||
private static ExecutorService executor = Executors.newCachedThreadPool(Helper.foregroundThreadFactory);
|
||||
|
||||
private static final String DB_NAME = "fairemail";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user