Skip to content

Commit

Permalink
Fix job start time (was logging queue worker start time)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas-done committed Jan 28, 2020
1 parent 64635c4 commit 22c8584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Watchers/JobWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static function record($event)
$duration = microtime(true) - $event->job->apm_job_start;

LogWriter::logAndWrite(
round(LARAVEL_START),
round($event->job->apm_job_start),
$duration,
QueryWatcher::getMilliseconds() / 1000,
'job',
Expand Down

0 comments on commit 22c8584

Please sign in to comment.