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:
Soham Sinha 2017-08-01 17:45:52 -04:00
parent e85698e131
commit 566cee8fe7
1 changed files with 0 additions and 1 deletions

View File

@ -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;