Chromium Code Reviews
Description[CacheStorage] Don't call GetUsageAndQuota from a scheduled operation
Scheduled operations run sequentially. GetUsageAndQuota() can sometimes create
a new Size() scheduled operation, so calling it while in a scheduled operation
can result in a hung CacheStorage. This CL moves the calls to GetUsageAndQuota
to just before the operations are scheduled. This means that the size estimate
is less accurate, as it's determined potentially well before the operation runs.
BUG=620713
Committed: https://crrev.com/36dc82c2b7539b33b63cb6f967feae265625d178
Cr-Commit-Position: refs/heads/master@{#401001}
Patch Set 1 #Patch Set 2 : Fixes #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||||||||||||||||||||