commit | 770daec923bb61392afbf9ca16ee0dad147e154f | [log] [tgz] |
---|---|---|
author | michaeln <michaeln@chromium.org> | Fri Feb 20 22:22:33 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 20 22:23:26 2015 |
tree | 583692ea0389f4b05d08f8c22a1a9c855aedf4a6 | |
parent | caa8fc58bce415a672cbda87115645abeb543cbd [diff] |
[DOMStorage] Rate limiting writes to disk. Given access patterns that are just wrong, local & session storage can write many gigabytes per day or keep the disk perpetually spun up. To avoid excessive IO, we apply limits to the amount of data being written and the frequency of writes to address both kinds of 'bad' behaviors. TBR=rvargas BUG=176727 Review URL: https://codereview.chromium.org/896643002 Cr-Commit-Position: refs/heads/master@{#317424}