From: Damyan Ivanov Date: Sat, 5 Jan 2019 12:13:57 +0000 (+0000) Subject: assume that no more changed transactions will be discovered after 50 matching transac... X-Git-Tag: v0.3~124 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b294dd0a2a66ba78449eea3e15df59bb5f1198f4;p=mobile-ledger.git assume that no more changed transactions will be discovered after 50 matching transactions --- 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 634bb61b..c5850512 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -51,7 +51,7 @@ import java.util.regex.Pattern; public class RetrieveTransactionsTask extends AsyncTask { - public static final int MATCHING_TRANSACTIONS_LIMIT = 100; + public static final int MATCHING_TRANSACTIONS_LIMIT = 50; private static final Pattern transactionStartPattern = Pattern.compile("([\\d.-]+)"); private static final Pattern transactionDescriptionPattern =