Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Reduce checker interval, which sets up various timers to check variou…
Browse files Browse the repository at this point in the history
…s things, including the login state. We need to be notified soon after logout to refresh the UI to new disabled state. The is the 1.7 release revision
  • Loading branch information
brianking committed Jul 23, 2011
1 parent cbc3c12 commit 247ff31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/facebook.js
Expand Up @@ -563,7 +563,7 @@ facebookService.prototype = {
}

fbSvc._timer = Cc['@mozilla.org/timer;1'].createInstance(Ci.nsITimer);
fbSvc._timer.initWithCallback(fbSvc._checker, BASE_CHECK_INTERVAL/5, Ci.nsITimer.TYPE_REPEATING_SLACK);
fbSvc._timer.initWithCallback(fbSvc._checker, BASE_CHECK_INTERVAL/10, Ci.nsITimer.TYPE_REPEATING_SLACK);

// fire off another thread to get things started
fbSvc._oneShotTimer = Cc['@mozilla.org/timer;1'].createInstance(Ci.nsITimer);
Expand Down Expand Up @@ -612,7 +612,7 @@ facebookService.prototype = {
}

this._timer = Cc['@mozilla.org/timer;1'].createInstance(Ci.nsITimer);
this._timer.initWithCallback(this._checker, BASE_CHECK_INTERVAL/5, Ci.nsITimer.TYPE_REPEATING_SLACK);
this._timer.initWithCallback(this._checker, BASE_CHECK_INTERVAL/10, Ci.nsITimer.TYPE_REPEATING_SLACK);

// fire off another thread to get things started
this._oneShotTimer = Cc['@mozilla.org/timer;1'].createInstance(Ci.nsITimer);
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Expand Up @@ -5,7 +5,7 @@

<Description about="urn:mozilla:install-manifest">
<em:id>firefox@facebook.com</em:id>
<em:version>1.7.0.1</em:version>
<em:version>1.7.1</em:version>
<em:type>2</em:type>

<!-- Front End MetaData -->
Expand Down

0 comments on commit 247ff31

Please sign in to comment.