DescriptionOnly set precache.last_time when precache ran.
Modify the prefetch run to pass a precacheStarted boolean from the C++ side to
the Java side. If precacheStarted, the precache.last_time pref is set and an
alarm is created for WAIT_UNTIL_NEXT_PRECACHE_MS later. Otherwise, the pref is
not updated, and an alarm is set for INTERACTIVE_STATE_POLLING_PERIOD_MS later.
This should reduce the possibility that a user has to wait an additional 4
hours for the prefetch run, because some precondition for prefetching wasn't
yet met.
BUG=309216
Committed: https://crrev.com/0100d1eef69974b4826959acf0f82cfe48f9e9e2
Cr-Commit-Position: refs/heads/master@{#342833}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Rebase. #Patch Set 3 : Rebase. #Patch Set 4 : Add comments. #Patch Set 5 : Rebase. #Patch Set 6 : Don't retry often unless backend pending. #
Total comments: 1
Depends on Patchset: Messages
Total messages: 13 (2 generated)
|