changes microsummary load timeout from 10 seconds to 300 seconds (five minutes), which is long enough to handle almost every page load while still being short enough to cancel loads before they start to pile up

bug=347097
r=mconnor
This commit is contained in:
myk@mozilla.org
2007-01-14 05:38:26 +00:00
parent c4278469bc
commit 2a9f1c12fb

View File

@@ -2131,8 +2131,9 @@ MicrosummaryResource.prototype = {
};
// cancel loads that take too long
// timeout specified in seconds at browser.microsummary.requestTimeout, or 10 seconds
var timeout = getPref("browser.microsummary.requestTimeout", 10) * 1000;
// timeout specified in seconds at browser.microsummary.requestTimeout,
// or 300 seconds (five minutes)
var timeout = getPref("browser.microsummary.requestTimeout", 300) * 1000;
var timerObserver = {
_self: this,
observe: function MSR_timerObserver_observe() {