mirror of https://github.com/M66B/FairEmail.git
Increase number of fetch executors
This commit is contained in:
parent
313db1d3f7
commit
974fe5c25b
|
@ -68,7 +68,8 @@ public class ViewModelMessages extends ViewModel {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
private ExecutorService executor = Helper.getBackgroundExecutor(2, "model");
|
// AndroidX IO = 4 threads
|
||||||
|
private ExecutorService executor = Helper.getBackgroundExecutor(4, "model");
|
||||||
|
|
||||||
private static final int LOCAL_PAGE_SIZE = 50;
|
private static final int LOCAL_PAGE_SIZE = 50;
|
||||||
private static final int REMOTE_PAGE_SIZE = 10;
|
private static final int REMOTE_PAGE_SIZE = 10;
|
||||||
|
|
Loading…
Reference in New Issue