From 983c6b875b4b3336b1c70bdf363e39b1ca5657ea Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 11 Apr 2019 00:00:35 +0300 Subject: [PATCH] bump matching transaction limit to 150 for when some deep histiry is changed --- .../net/ktnx/mobileledger/async/RetrieveTransactionsTask.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java index 2ff41c3f..0bf763a9 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -57,7 +57,7 @@ import java.util.regex.Pattern; public class RetrieveTransactionsTask extends AsyncTask { - private static final int MATCHING_TRANSACTIONS_LIMIT = 50; + private static final int MATCHING_TRANSACTIONS_LIMIT = 150; private static final Pattern reComment = Pattern.compile("^\\s*;"); private static final Pattern reTransactionStart = Pattern.compile("([\\d.-]+)"); @@ -584,7 +584,6 @@ public class RetrieveTransactionsTask return true; } - ; @SuppressLint("DefaultLocale") @Override protected String doInBackground(Void... params) { -- 2.39.5