Bug 726045 - Match Fennec history limit.
authorRichard Newman <rnewman@mozilla.com>
Wed, 15 Feb 2012 22:05:51 -0800
changeset 86979 850f6f2d4b05dc7de0de1ed4bcc73b87fb765686
parent 86978 161ce815ab798a0cba1725b088aff970589362e0
child 86980 74b64932c2f7d3b74158b927e4064962e2576fde
push id22071
push userbmo@edmorley.co.uk
push dateFri, 17 Feb 2012 11:08:28 +0000
treeherdermozilla-central@08e55f36b731 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs726045
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
+}