Bug 1003159 - Default the updater to downloading the entire update at once for Nightly/Aurora, r=rstrong

--HG--
extra : rebase_source : b02d9fc4717817e57c50e2149cbbeaba05097a30
This commit is contained in:
Mike Connor 2014-06-04 23:00:32 -04:00
parent d326f86cac
commit 8d2e70b0c6
3 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,8 @@ pref("startup.homepage_welcome_url","");
pref("app.update.interval", 28800); // 8 hours pref("app.update.interval", 28800); // 8 hours
// The time interval between the downloading of mar file chunks in the // The time interval between the downloading of mar file chunks in the
// background (in seconds) // background (in seconds)
pref("app.update.download.backgroundInterval", 60); // 0 means "download everything at once"
pref("app.update.download.backgroundInterval", 0);
// Give the user x seconds to react before showing the big UI. default=24 hours // Give the user x seconds to react before showing the big UI. default=24 hours
pref("app.update.promptWaitTime", 86400); pref("app.update.promptWaitTime", 86400);
// URL user can browse to manually if for some reason all update installation // URL user can browse to manually if for some reason all update installation

View File

@ -8,7 +8,8 @@ pref("startup.homepage_welcome_url", "https://www.mozilla.org/projects/firefox/%
pref("app.update.interval", 7200); // 2 hours pref("app.update.interval", 7200); // 2 hours
// The time interval between the downloading of mar file chunks in the // The time interval between the downloading of mar file chunks in the
// background (in seconds) // background (in seconds)
pref("app.update.download.backgroundInterval", 60); // 0 means "download everything at once"
pref("app.update.download.backgroundInterval", 0);
// Give the user x seconds to react before showing the big UI. default=12 hours // Give the user x seconds to react before showing the big UI. default=12 hours
pref("app.update.promptWaitTime", 43200); pref("app.update.promptWaitTime", 43200);
// URL user can browse to manually if for some reason all update installation // URL user can browse to manually if for some reason all update installation

View File

@ -20,7 +20,7 @@ const URL_HTTP_UPDATE_SJS = URL_HOST + URL_PATH_UPDATE_XML;
const REL_PATH_DATA = "chrome/toolkit/mozapps/update/tests/data/"; const REL_PATH_DATA = "chrome/toolkit/mozapps/update/tests/data/";
const SERVICE_URL = URL_HOST + "/" + REL_PATH_DATA + FILE_SIMPLE_MAR; const SERVICE_URL = URL_HOST + "/" + REL_PATH_DATA + FILE_SIMPLE_MAR;
const SLOW_MAR_DOWNLOAD_INTERVAL = 100; const SLOW_MAR_DOWNLOAD_INTERVAL = 2000;
var gTimer; var gTimer;
function handleRequest(aRequest, aResponse) { function handleRequest(aRequest, aResponse) {