From c9b1c9194459d01bc2e7ee53a24bfec169d58983 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 23 Aug 2017 19:18:27 +0900 Subject: [PATCH] Fix compile error --- src/h2load.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;