Closed Bug 600718 Opened 14 years ago Closed 13 years ago

Alive counter would inflate if blocklist is pinged more than once per 24 hours

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 620837

People

(Reporter: dre, Unassigned)

References

()

Details

One difference with our implementation of the alive counter vs Canonical's is that it is possible for our blocklist update check to happen more than once per day.  One way I can think to avoid that would be to omit the counter if it has been less than 24 hours since the last ping that included the counter. Seems like that would require another timestamp to be stored in prefs though..  any other thoughts?
It is possible through code to initiate a second ping in 24 hours but this should be extremely rare (e.g. when I or another developer manually initiates a ping).
The interval is 86400 which equates to once per day
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/extensions.manifest#3

and

http://mxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js#69
I guess I was being a little confused with the AUS timer which we have set to a higher level for nightlies.  So you don't think that it would be worth trying to handle the edge case of a user setting their blocklist interval to more than once per day?  If so, then you can close this as wontfix.
I talked with Mossop about this briefly and don't think it is worth doing at this time but it would be very simple to implement so I'm leaving this open and we'll revisit whether we should or not when things aren't as busy.
Daniel, is this bug still necessary now that bug 620837 is fixed?
Talked with Daniel and he agreed that bug 620837 covers this case... resolving duplicate since bug 620837 implements this functionality
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.