]> git.ktnx.net Git - mobile-ledger.git/commitdiff
assume that no more changed transactions will be discovered after 50 matching transac...
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 12:13:57 +0000 (12:13 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 12:13:57 +0000 (12:13 +0000)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index 634bb61b60d9753ea9ee27c52ef53ef5ff78071a..c5850512920312992243bff315ab379cef89e231 100644 (file)
@@ -51,7 +51,7 @@ import java.util.regex.Pattern;
 
 public class RetrieveTransactionsTask extends
         AsyncTask<RetrieveTransactionsTask.Params, RetrieveTransactionsTask.Progress, Void> {
-    public static final int MATCHING_TRANSACTIONS_LIMIT = 100;
+    public static final int MATCHING_TRANSACTIONS_LIMIT = 50;
     private static final Pattern transactionStartPattern = Pattern.compile("<tr class=\"title\" " +
                                                                            "id=\"transaction-(\\d+)\"><td class=\"date\"[^\\\"]*>([\\d.-]+)</td>");
     private static final Pattern transactionDescriptionPattern =