Skip to content
This repository
Browse code

[^] QueriesNote division total time by 1000.0 has been removed. tnx @…

  • Loading branch information...
commit 8831682919d7be191ee796a5c2face96f1efda05 1 parent c66776d
Roman V. Babenko authored April 12, 2012
2  lib/rails-footnotes/notes/queries_note.rb
@@ -22,7 +22,7 @@ def events
22 22
 
23 23
       def title
24 24
         queries = self.events.count
25  
-        total_time = self.events.map(&:duration).sum / 1000.0
  25
+        total_time = self.events.map(&:duration).sum
26 26
         query_color = generate_red_color(self.events.count, alert_sql_number)
27 27
         db_color    = generate_red_color(total_time, alert_db_time)
28 28
 

0 notes on commit 8831682

Please sign in to comment.
Something went wrong with that request. Please try again.