Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 8831682919d7be191ee796a5c2face96f1efda05 1 parent c66776d
Roman V. Babenko romanvbabenko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rails-footnotes/notes/queries_note.rb
2  lib/rails-footnotes/notes/queries_note.rb
View
@@ -22,7 +22,7 @@ def events
def title
queries = self.events.count
- total_time = self.events.map(&:duration).sum / 1000.0
+ total_time = self.events.map(&:duration).sum
query_color = generate_red_color(self.events.count, alert_sql_number)
db_color = generate_red_color(total_time, alert_db_time)
Please sign in to comment.
Something went wrong with that request. Please try again.