RESOLVED FIXED 172524
Resource Load Statistics: Change grandfathering default to one hour
https://bugs.webkit.org/show_bug.cgi?id=172524
Summary Resource Load Statistics: Change grandfathering default to one hour
John Wilander
Reported 2017-05-23 14:17:44 PDT
We should only grandfather website data records for one hour to start with. If more is needed we can bump it up again.
Attachments
Patch (4.23 KB, patch)
2017-05-23 14:22 PDT, John Wilander
no flags
Radar WebKit Bug Importer
Comment 1 2017-05-23 14:18:22 PDT
John Wilander
Comment 2 2017-05-23 14:22:04 PDT
Brent Fulgham
Comment 3 2017-05-23 17:51:54 PDT
Comment on attachment 311051 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311051&action=review r=me > Source/WebKit2/UIProcess/WebResourceLoadStatisticsManager.cpp:152 > + WebCore::ResourceLoadObserver::sharedObserver().setGrandfatheringTime(3600); Weird that we can't use "grandfatheringTime" here, instead of a magic number.
John Wilander
Comment 4 2017-05-24 10:08:39 PDT
(In reply to Brent Fulgham from comment #3) > Comment on attachment 311051 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=311051&action=review > > r=me > > > Source/WebKit2/UIProcess/WebResourceLoadStatisticsManager.cpp:152 > > + WebCore::ResourceLoadObserver::sharedObserver().setGrandfatheringTime(3600); > > Weird that we can't use "grandfatheringTime" here, instead of a magic number. Thanks for the review! grandfatheringTime in ResourceLoadStatisticsStore.cpp is the variable that's changed so we'd have to introduce a constant.
WebKit Commit Bot
Comment 5 2017-05-24 10:37:00 PDT
Comment on attachment 311051 [details] Patch Clearing flags on attachment: 311051 Committed r217372: <http://trac.webkit.org/changeset/217372>
WebKit Commit Bot
Comment 6 2017-05-24 10:37:01 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.