1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Use local boundary executor

This commit is contained in:
M66B 2021-01-31 12:04:43 +01:00
parent 2bbdfc3e0d
commit 737b2cdcab

View file

@ -88,10 +88,10 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
private IBoundaryCallbackMessages intf; private IBoundaryCallbackMessages intf;
private State state; private State state;
private ExecutorService executor = Helper.getBackgroundExecutor(1, "boundary");
private static final int SEARCH_LIMIT_DEVICE = 1000; private static final int SEARCH_LIMIT_DEVICE = 1000;
private static final int SEARCH_LIMIT_SERVER = 250; private static final int SEARCH_LIMIT_SERVER = 250;
private static ExecutorService executor = Helper.getBackgroundExecutor(1, "boundary");
interface IBoundaryCallbackMessages { interface IBoundaryCallbackMessages {
void onLoading(); void onLoading();