Commit dda4a219 by Kevin Chugh

format and round ratio

parent 9f693a5c
...@@ -149,7 +149,7 @@ namespace :kpis do ...@@ -149,7 +149,7 @@ namespace :kpis do
puts "Total Threads: #{threads.count}" puts "Total Threads: #{threads.count}"
puts "Total Orphaned Threads: #{orphans.count}" puts "Total Orphaned Threads: #{orphans.count}"
if threads.count > 0 if threads.count > 0
puts "Orphan Ratio: #{ratio}" puts "Orphan Ratio: #{(ratio*1000).round/10}%"
end end
puts "\n\n\n" puts "\n\n\n"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment