DescriptionAdd an extra delay for policy invalidations to be available.
The cloud policy refresh scheduler no longer waits for policy invalidations to become available before issuing the first policy fetch. We want to ensure that any policy change that results from this initial policy fetch is counted as a change without invalidations enabled for metrics purposes.
Currently we determine if invalidations are enabled based on whether the invalidation service has reported that it is on. However, there may be a delay between the invalidation service being enabled and the invalidation service actually delivering a pending invalidation. Additionally, on Android the invalidation service always reports that it is enabled. To account for this, add a "grace period" after the invalidation service is enabled during which we still consider invalidations disabled for metrics reporting.
BUG=355884
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261506
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 10 (0 generated)
|