Commit 564f3898 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

IndexedDB: Re-enable special handling of large values.

Design doc:
https://docs.google.com/document/d/1wmbLb91Se4OIp3Z0eKkAJEHG4YHgq75WUH2mqazrnik

Bug: 719007
Change-Id: Icda80ecdc512099508788cffc9be70c23c35005c
Reviewed-on: https://chromium-review.googlesource.com/765057Reviewed-by: 's avatarDaniel Murphy <dmurph@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516126}
parent 40274059
......@@ -121,11 +121,7 @@ class MODULES_EXPORT IDBValueWrapper {
// storage for IndexedDB, was not designed with large values in mind. At the
// very least, large values will slow down compaction, causing occasional I/O
// spikes.
//
// TODO(crbug.com/756754): 128MB is the maximum IPC size, so this threshold
// effectively disables wrapping. Set the threshold back to 64 * 1024 after
// the Blob leak issue is fixed.
static constexpr unsigned kWrapThreshold = 128 * 1024 * 1024;
static constexpr unsigned kWrapThreshold = 64 * 1024;
// MIME type used for Blobs that wrap IDBValues.
static constexpr const char* kWrapMimeType =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment