rdhabalia commented on a change in pull request #5786: Fix 
ArrayIndexOutOfBoundsException in PerformanceProducer.
URL: https://github.com/apache/pulsar/pull/5786#discussion_r352927083
 
 

 ##########
 File path: 
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java
 ##########
 @@ -87,8 +87,8 @@
     private static final LongAdder totalMessagesSent = new LongAdder();
     private static final LongAdder totalBytesSent = new LongAdder();
 
-    private static Recorder recorder = new 
Recorder(TimeUnit.SECONDS.toMillis(120000), 5);
-    private static Recorder cumulativeRecorder = new 
Recorder(TimeUnit.SECONDS.toMillis(120000), 5);
+    private static Recorder recorder = new 
Recorder(TimeUnit.SECONDS.toMicros(120000), 5);
 
 Review comment:
   are we changing latency output in microseconds?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to