Bug 1340115 - Cap the amount of history we import from Chrome. r=Gijs, a=gchang
authorDão Gottwald <dao@mozilla.com>
Mon, 20 Feb 2017 21:17:44 +0100
changeset 378993 05659f9e9b7b94bde3af270f2f301f4edea4d62e
parent 378992 5e211036864b9ed718084ece95d6a64488c976c1
child 378994 e2752c5516c107c4c8a3edf7be91b2fd15c56a3b
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, gchang
bugs1340115
milestone53.0
Bug 1340115 - Cap the amount of history we import from Chrome. r=Gijs, a=gchang MozReview-Commit-ID: Cj0I02O27PD
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1529,18 +1529,19 @@ pref("browser.migrate.automigrate.enable
 #endif
 
 
 // 4 here means the suggestion notification will be automatically
 // hidden the 4th day, so it will actually be shown on 3 different days.
 pref("browser.migrate.automigrate.daysToOfferUndo", 4);
 pref("browser.migrate.automigrate.ui.enabled", true);
 
-pref("browser.migrate.chrome.history.limit", 0);
-pref("browser.migrate.chrome.history.maxAgeInDays", 0);
+// See comments in bug 1340115 on how we got to these numbers.
+pref("browser.migrate.chrome.history.limit", 2000);
+pref("browser.migrate.chrome.history.maxAgeInDays", 180);
 
 // Enable browser frames for use on desktop.  Only exposed to chrome callers.
 pref("dom.mozBrowserFramesEnabled", true);
 
 pref("extensions.pocket.enabled", true);
 
 pref("signon.schemeUpgrades", true);