From fa89a89657554dbf48297423678c98e1f6ee2a9f Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Mon, 18 Sep 2006 17:51:06 +0000 Subject: [PATCH] fixes bug 352853 "64k update chunks are maxing out mirrors connection limits before they use up their bandwidth" r=robstrong a=mtschrep git-svn-id: svn://10.0.0.236/trunk@211932 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in b/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in index 45362e79fe5..c5c1ddff0fc 100644 --- a/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in +++ b/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in @@ -95,8 +95,8 @@ const STATE_FAILED = "failed"; // From updater/errors.h: const WRITE_ERROR = 7; -const DOWNLOAD_CHUNK_SIZE = 65536; -const DOWNLOAD_BACKGROUND_INTERVAL = 60; // seconds +const DOWNLOAD_CHUNK_SIZE = 300000; // bytes +const DOWNLOAD_BACKGROUND_INTERVAL = 600; // seconds const DOWNLOAD_FOREGROUND_INTERVAL = 0; // Values for the PREF_APP_UPDATE_INCOMPATIBLE_MODE pref. See documentation in