305843 - update timer should not fire every 5 seconds - fire every 10 minutes instead. r=brettw@gmail.com, a=chase
git-svn-id: svn://10.0.0.236/trunk@179083 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9c54c846e7
commit
52cb0451d3
@ -112,7 +112,7 @@ pref("app.update.nagTimer.download", 86400);
|
||||
pref("app.update.nagTimer.restart", 1800);
|
||||
// Interval: When all registered timers should be checked (in milliseconds)
|
||||
// default=5 seconds
|
||||
pref("app.update.timer", 5000);
|
||||
pref("app.update.timer", 600000);
|
||||
|
||||
// Whether or not we show a dialog box informing the user that the update was
|
||||
// successfully applied. This is off in Firefox by default since we show a
|
||||
|
||||
@ -2225,7 +2225,7 @@ function TimerManager() {
|
||||
const nsITimer = Components.interfaces.nsITimer;
|
||||
this._timer = Components.classes["@mozilla.org/timer;1"]
|
||||
.createInstance(nsITimer);
|
||||
var timerInterval = getPref("getIntPref", PREF_APP_UPDATE_TIMER, 5000);
|
||||
var timerInterval = getPref("getIntPref", PREF_APP_UPDATE_TIMER, 600000);
|
||||
this._timer.initWithCallback(this, timerInterval,
|
||||
nsITimer.TYPE_REPEATING_SLACK);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user