Commit d551c762 authored by erikchen's avatar erikchen Committed by Commit bot

Disable the new delayed load strategy for PersistentCookieStore.

I recently introduced a change which caused SQLitePersistentCookieStore to load
the cookies for one eTLD every 200ms, instead of every 0ms. That change
appeared to cause a hang during shutdown.

This CL changes the delay from 200ms back to 0ms while I investigate the hang.

BUG=436152, 448910

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

Cr-Commit-Position: refs/heads/master@{#312903}
parent 3085f02c
...@@ -50,7 +50,10 @@ namespace { ...@@ -50,7 +50,10 @@ namespace {
// The persistent cookie store is loaded into memory on eTLD at a time. This // The persistent cookie store is loaded into memory on eTLD at a time. This
// variable controls the delay between loading eTLDs, so as to not overload the // variable controls the delay between loading eTLDs, so as to not overload the
// CPU or I/O with these low priority requests immediately after start up. // CPU or I/O with these low priority requests immediately after start up.
const int kLoadDelayMilliseconds = 200; // TODO(erikchen): Investigate why setting this value to 200 causes hangs on
// shut down.
// http://crbug.com/448910
const int kLoadDelayMilliseconds = 0;
} // namespace } // namespace
......
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