MAIN_DURATION is initiliazed in Worker constructor, MAIN_DURATION check is removed from two functions because those functions are needed in warm-up phase as well.
This commit is contained in:
parent
e85698e131
commit
566cee8fe7
|
@ -778,7 +778,6 @@ void Client::on_header(int32_t stream_id, const uint8_t *name, size_t namelen,
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::on_status_code(int32_t stream_id, uint16_t status) {
|
void Client::on_status_code(int32_t stream_id, uint16_t status) {
|
||||||
|
|
||||||
auto itr = streams.find(stream_id);
|
auto itr = streams.find(stream_id);
|
||||||
if (itr == std::end(streams)) {
|
if (itr == std::end(streams)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue