Skip to content

Commit 8a349cd

Browse files
refactor(tx_pool_throughput_analysis): move logging of percentile usage to the correct position in the function
1 parent 70b14d0 commit 8a349cd

File tree

1 file changed

+2
-2
lines changed
  • pkg/coordinator/tasks/tx_pool_throughput_analysis

1 file changed

+2
-2
lines changed

pkg/coordinator/tasks/tx_pool_throughput_analysis/task.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ func (t *Task) measureTpsWithLoad(loadTarget *txloadtool.LoadTarget, sendingTps,
227227
// Not implemented yet
228228
notImpl := errors.New("percentile selection not implemented, use 0.99")
229229
return 0, notImpl
230-
} else {
231-
t.logger.Infof("Using 0.99 percentile for latency calculation")
232230
}
233231

232+
t.logger.Infof("Using 0.99 percentile for latency calculation")
233+
234234
t.logger.Infof("Last measure delay since start time: %s", result.LastMeasureDelay)
235235

236236
processedTpsF := float64(result.TotalTxs) / result.LastMeasureDelay.Seconds()

0 commit comments

Comments
 (0)