Commit de812a84 authored by vmpstr's avatar vmpstr Committed by Commit bot

cc: ImageDecodes: Increase the cache item count limit to 1000.

We've switched from using a vector to using a hash map for the cached
items. This allows us to raise the limit of the number of (unlocked)
items we cache. Set this to 1000 (arbitrarily).

R=ericrk, enne
BUG=577421
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1839783004

Cr-Commit-Position: refs/heads/master@{#383842}
parent f0ddf692
......@@ -30,7 +30,7 @@ const size_t kMaxHighQualityImageSizeBytes = 64 * 1024 * 1024;
// The number of entries to keep around in the cache. This limit can be breached
// if more items are locked. That is, locked items ignore this limit.
const size_t kMaxItemsInCache = 100;
const size_t kMaxItemsInCache = 1000;
class AutoRemoveKeyFromTaskMap {
public:
......
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