Bug 726045 - Match Fennec history limit.
authorRichard Newman <rnewman@mozilla.com>
Wed, 15 Feb 2012 22:05:51 -0800
changeset 89858 850f6f2d4b05dc7de0de1ed4bcc73b87fb765686
parent 89857 161ce815ab798a0cba1725b088aff970589362e0
child 89859 74b64932c2f7d3b74158b927e4064962e2576fde
push idunknown
push userunknown
push dateunknown
bugs726045
milestone13.0a1
Bug 726045 - Match Fennec history limit.
mobile/android/base/sync/stage/AndroidBrowserHistoryServerSyncStage.java
--- a/mobile/android/base/sync/stage/AndroidBrowserHistoryServerSyncStage.java
+++ b/mobile/android/base/sync/stage/AndroidBrowserHistoryServerSyncStage.java
@@ -45,17 +45,17 @@ import org.mozilla.gecko.sync.repositori
 import org.mozilla.gecko.sync.repositories.android.AndroidBrowserHistoryRepository;
 import org.mozilla.gecko.sync.repositories.domain.HistoryRecordFactory;
 
 public class AndroidBrowserHistoryServerSyncStage extends ServerSyncStage {
 
   // Eventually this kind of sync stage will be data-driven,
   // and all this hard-coding can go away.
   private static final String HISTORY_SORT          = "index";
-  private static final long   HISTORY_REQUEST_LIMIT = 500;
+  private static final long   HISTORY_REQUEST_LIMIT = 250;
 
   @Override
   public void execute(org.mozilla.gecko.sync.GlobalSession session) throws NoSuchStageException {
     super.execute(session);
   }
 
   @Override
   protected String getCollection() {
@@ -80,9 +80,9 @@ public class AndroidBrowserHistoryServer
                                              HISTORY_REQUEST_LIMIT,
                                              HISTORY_SORT);
   }
 
   @Override
   protected RecordFactory getRecordFactory() {
     return new HistoryRecordFactory();
   }
-}
\ No newline at end of file
+}