Fix assertion failure

This commit is contained in:
Tatsuhiro Tsujikawa 2017-08-23 19:22:23 +09:00
parent afcd8d9ab1
commit bcda1c2409
1 changed files with 0 additions and 2 deletions

View File

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