[Thunderbird Telemetry] Exclude 'storage' calendar from tb.calendar.calendar_count probe if no items in past year
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
People
(Reporter: sancus, Unassigned)
References
Details
Attachments
(1 obsolete file)
In Bug 1770233 we excluded calendars that are disabled OR have >0 items, but this still leads to very high storage calendar counts.
We should change this probe to only count items from the past year or later(far future items should count), if possible. If there's some reason this would be problematic(performance, etc) perhaps we can find another way to determine somewhat-recent activity for this calendar.
Old profiles will have it enabled and could have items on it for many possible out of date reasons.
![]() |
||
Comment 1•2 years ago
•
|
||
We should change this probe to only count items from the past year or later
I'm assuming you mean items whose date ranges fall within a year and not those added within a year? The latter would exclude calendars that may be in use but have no new items. If we do this for the storage calendar we should probably do this for all the calendar data collected so the stats are more consistent. That however, would result in network requests for remote calendars.
Edit: Just remembered bug 1770233 is only for the "Home" calendar
![]() |
||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
![]() |
||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•