diff --git a/src/h2load.cc b/src/h2load.cc index f57c3d32..b7af2055 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -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); - } + worker->sample_req_stat(req_stat); // Count up in successful cases only ++worker->request_times_smp.n;