mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
d326f86cac
commit
8d2e70b0c6
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user