chore(scheduler): fix scheduled job duration metric (#8551)
This commit is contained in:
commit
c30d94f089
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ public function handle(): void
|
||||||
|
|
||||||
Log::channel('scheduled')->info('ScheduledJobManager completed', [
|
Log::channel('scheduled')->info('ScheduledJobManager completed', [
|
||||||
'execution_time' => $this->executionTime->toIso8601String(),
|
'execution_time' => $this->executionTime->toIso8601String(),
|
||||||
'duration_ms' => Carbon::now()->diffInMilliseconds($this->executionTime),
|
'duration_ms' => $this->executionTime->diffInMilliseconds(Carbon::now()),
|
||||||
'dispatched' => $this->dispatchedCount,
|
'dispatched' => $this->dispatchedCount,
|
||||||
'skipped' => $this->skippedCount,
|
'skipped' => $this->skippedCount,
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue