Closed
Bug 305843
Opened 19 years ago
Closed 19 years ago
Update timer fires every 5 seconds
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
VERIFIED
FIXED
People
(Reporter: mikepinkerton, Assigned: bugs)
Details
(Keywords: perf, verified1.8)
Attachments
(2 files)
|
2.63 KB,
patch
|
brettw
:
review+
chase
:
approval1.8b4+
|
Details | Diff | Splinter Review |
|
4.04 KB,
patch
|
Details | Diff | Splinter Review |
If you put a dump in the background notification timer for the update service,
you see that it fires every five seconds.
var timerInterval = getPref("getIntPref", PREF_APP_UPDATE_TIMER, 5000);
and this pref isn't set to anything else by any pref files that i could find
with lxr (it's not set in firefox.js).
This seems pretty bad to have this constantly running with such a short interval
for no good reason.| Reporter | ||
Comment 1•19 years ago
|
||
cc'ing ben so he'll read the bug and requesting blocking status.
Flags: blocking1.8b4?
Keywords: perf
| Assignee | ||
Comment 2•19 years ago
|
||
This pref controls a timer which checks if the update interval has expired yet. We need to have this kind of model because long timers seem to be buggy and seriously disturb some of the tinderboxes. With that said, we could raise this value to something higher than 5000 now the background update system has been tested and has been shown to work fairly effectively. Maybe set it to 600000? (600 seconds, 10 minutes)
Updated•19 years ago
|
Flags: blocking1.8b4? → blocking1.8b4+
| Assignee | ||
Comment 3•19 years ago
|
||
Attachment #193951 -
Flags: review?(brettw)
Attachment #193951 -
Flags: approval1.8b4?
Comment 4•19 years ago
|
||
Comment on attachment 193951 [details] [diff] [review] patch to do just that r=brettw@gmail.com
Attachment #193951 -
Flags: review?(brettw) → review+
Updated•19 years ago
|
Attachment #193951 -
Flags: approval1.8b4? → approval1.8b4+
| Assignee | ||
Comment 5•19 years ago
|
||
landed branch and trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.8 → verified1.8
Comment 7•18 years ago
|
||
while looking into an other issue, I noticed the comment does not match the code. here's the fix. (note seamonkey, http://lxr.mozilla.org/seamonkey/source/suite/browser/browser-prefs.js#247, is already correct)
Comment 8•18 years ago
|
||
trivial supplimental fix checked in. Checking in browser/app/profile/firefox.js; /cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js new revision: 1.171; previous revision: 1.170 done Checking in mail/app/profile/all-thunderbird.js; /cvsroot/mozilla/mail/app/profile/all-thunderbird.js,v <-- all-thunderbird.js new revision: 1.89; previous revision: 1.88 done Checking in calendar/sunbird/app/profile/sunbird.js; /cvsroot/mozilla/calendar/sunbird/app/profile/sunbird.js,v <-- sunbird.js new revision: 1.40; previous revision: 1.39 done
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•