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 2006-08-15 23:57:17 +00:00
Родитель 27e3eb7623
Коммит c198bf4728
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

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