Read about our upcoming Code of Conduct on this issue

Unverified Commit 58058ce0 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Fix SQL timings for the performance bar

My recent change accidentally changed the reported time from
milliseconds to seconds, resulting in wrong timings being displayed.
parent b3f9c83abffb
......@@ -36,7 +36,7 @@ def setup_subscribers
def track_query(raw_query, bindings, start, finish)
duration = finish - start
duration = (finish - start) * 1000.0
query_info = { duration: duration.round(3), sql: raw_query }
PEEK_DB_CLIENT.query_details << query_info
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