From 0037eaeb6fe24ac9c815cb994d97b0a4ea505fa7 Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Mon, 11 Sep 2023 08:59:34 +0200 Subject: [PATCH] remarks --- lib/karafka/web/ui/models/metrics/charts/topics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/karafka/web/ui/models/metrics/charts/topics.rb b/lib/karafka/web/ui/models/metrics/charts/topics.rb index c499a020..67314a4e 100644 --- a/lib/karafka/web/ui/models/metrics/charts/topics.rb +++ b/lib/karafka/web/ui/models/metrics/charts/topics.rb @@ -78,7 +78,7 @@ def max_lso_time metrics.each do |current| # We convert this to seconds from milliseconds due to our Web UI precision # Reporting is in ms for consistency - normalized_fd =((current.last[:ls_offset_fd] || 0) / 1_000).round + normalized_fd = ((current.last[:ls_offset_fd] || 0) / 1_000).round topics[topic_without_cg][current.first] << normalized_fd end end