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


git-svn-id: svn://10.0.0.236/trunk@218354 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org
2007-01-14 05:38:26 +00:00
parent e2bf3c07d4
commit c160e89768

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() {