Commit bcda1c24 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix assertion failure

parent afcd8d9a
...@@ -822,8 +822,6 @@ void Client::on_stream_close(int32_t stream_id, bool success, bool final) { ...@@ -822,8 +822,6 @@ void Client::on_stream_close(int32_t stream_id, bool success, bool final) {
++worker->stats.req_failed; ++worker->stats.req_failed;
++worker->stats.req_error; ++worker->stats.req_error;
} }
// To avoid overflow error
assert(worker->stats.req_done <= worker->max_samples);
++worker->stats.req_done; ++worker->stats.req_done;
++req_done; ++req_done;
} }
......
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