DescriptionPrevent site engagement scores from decaying when Chrome isn't in use.
The site engagement service decays origins which have not been accessed
in a week. However, if a user isn't using Chrome at all, the decay still
occurs.
This CL addresses this issue by persisting the last recorded time that
any engagement occurred. If too long a period passes (currently 10 days)
without *any* engagement, all scores have their last accessed time
adjusted to be relative to some number of decay periods prior to now
(currently set at 1 decay period), based on their offset to the last known
engagement time.
BUG=575504
Committed: https://crrev.com/709246a0f3afee77f19d056a6306d2f63b613fad
Cr-Commit-Position: refs/heads/master@{#402653}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Address reviewer comments #Patch Set 3 : 36 hours != 3 days #
Total comments: 2
Patch Set 4 : Rebase #
Messages
Total messages: 22 (10 generated)
|