Skip to content

Commit 8e5e6e7

Browse files
authored
Fix incorrect profiler query times (#689)
1 parent ac107ba commit 8e5e6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Profiler/ElasticsearchProfiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private function addQuery($route, $record, $queryBody)
179179
'body' => $body !== null ? json_encode($body, JSON_PRETTY_PRINT) : '',
180180
'method' => $record['context']['method'],
181181
'httpParameters' => $httpParameters,
182-
'time' => $record['context']['duration'] * 100,
182+
'time' => $record['context']['duration'] * 1000,
183183
],
184184
array_diff_key(parse_url($record['context']['uri']), array_flip(['query']))
185185
);

0 commit comments

Comments
 (0)