Increase number of fetch executors

pull/178/head
M66B 5 years ago
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 REMOTE_PAGE_SIZE = 10;

Loading…
Cancel
Save