Fix compile error

This commit is contained in:
Tatsuhiro Tsujikawa 2017-08-23 19:18:27 +09:00
parent 5d9434eb09
commit c9b1c91944
1 changed files with 1 additions and 4 deletions

View File

@ -813,10 +813,7 @@ void Client::on_stream_close(int32_t stream_id, bool success, bool final) {
++worker->stats.req_failed;
}
if (sampling_should_pick(worker->request_times_smp)) {
sampling_advance_point(worker->request_times_smp);
worker->sample_req_stat(req_stat);
}
// Count up in successful cases only
++worker->request_times_smp.n;