From be4f472e9977cdf7607892db701c31fa145d02cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Fri, 21 Jun 2019 17:31:02 +0200 Subject: [PATCH] Fix the requestLengthPercentiles parameter (#60) The requestLengthPercentiles parameter was ignored and the lengthPercentiles parameter used for both request and response. --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index de845951..c11a99f3 100644 --- a/client/client.go +++ b/client/client.go @@ -281,7 +281,7 @@ func safeNonStreamingRequest(worker workerID, ctx = context.Background() } - requestDataLength := lengthDistribution.Get(r.Int31() % 1000) + requestDataLength := requestLengthDistribution.Get(r.Int31() % 1000) data := make([]byte, requestDataLength) r.Read(data)