diff options
author | bnc <bnc@chromium.org> | 2015-08-03 14:12:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-03 21:13:32 +0000 |
commit | 089bcbb1d07f842cfa79c782a282aff60432520b (patch) | |
tree | 95e309bbb2b8b0dedba9a047b32c04ef16ce84ca /net/spdy | |
parent | 7e59f3d7342a5c452066baf895996c7a784c829d (diff) | |
download | chromium_src-089bcbb1d07f842cfa79c782a282aff60432520b.zip chromium_src-089bcbb1d07f842cfa79c782a282aff60432520b.tar.gz chromium_src-089bcbb1d07f842cfa79c782a282aff60432520b.tar.bz2 |
Revert of Yield in DoReadLoop after 20 ms instead of 50 ms. (patchset #1 id:1 of https://codereview.chromium.org/1266903005/)
Reason for revert:
Reverting because of test failures at http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Mac%20%28valgrind%29%282%29/builds/35609.
Original issue's description:
> Yield in DoReadLoop after 20 ms instead of 50 ms.
>
> Decrease the time threshold in SpdySession::DoReadLoop from 50 ms to 20 ms. See
> bug for a discussion on the value.
>
> BUG=462774
>
> Committed: https://crrev.com/68b3f5152c0d74f87a068961c1a8f26c36b9b7c3
> Cr-Commit-Position: refs/heads/master@{#341519}
TBR=rch@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=462774
Review URL: https://codereview.chromium.org/1269003007
Cr-Commit-Position: refs/heads/master@{#341611}
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h index 190f27a..6092c15 100644 --- a/net/spdy/spdy_session.h +++ b/net/spdy/spdy_session.h @@ -57,7 +57,7 @@ const int kMaxConcurrentPushedStreams = 1000; // If more than this many bytes have been read or more than that many // milliseconds have passed, return ERR_IO_PENDING from ReadLoop. const int kYieldAfterBytesRead = 32 * 1024; -const int kYieldAfterDurationMilliseconds = 20; +const int kYieldAfterDurationMilliseconds = 50; // First and last valid stream IDs. As we always act as the client, // start at 1 for the first stream id. |