nghttpx: Remove shrinking memchunks for now
It requires more careful optimization. Remove it for now.
This commit is contained in:
parent
96e66b1a81
commit
8ddad1a53d
|
@ -1168,9 +1168,6 @@ void Http2Upstream::remove_downstream(Downstream *downstream) {
|
|||
if (next_downstream) {
|
||||
initiate_downstream(std::move(next_downstream));
|
||||
}
|
||||
|
||||
mcpool_.shrink((downstream_queue_.get_active_downstreams().size() + 1) *
|
||||
65536);
|
||||
}
|
||||
|
||||
Downstream *Http2Upstream::find_downstream(int32_t stream_id) {
|
||||
|
|
|
@ -811,9 +811,6 @@ void SpdyUpstream::remove_downstream(Downstream *downstream) {
|
|||
if (next_downstream) {
|
||||
initiate_downstream(std::move(next_downstream));
|
||||
}
|
||||
|
||||
mcpool_.shrink((downstream_queue_.get_active_downstreams().size() + 1) *
|
||||
65536);
|
||||
}
|
||||
|
||||
Downstream *SpdyUpstream::find_downstream(int32_t stream_id) {
|
||||
|
|
Loading…
Reference in New Issue