chore(scheduler): fix scheduled job duration metric (#8551)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2026-02-23 12:20:15 +01:00
commit c30d94f089
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ class ScheduledJobManager implements ShouldQueue
Log::channel('scheduled')->info('ScheduledJobManager completed', [
'execution_time' => $this->executionTime->toIso8601String(),
'duration_ms' => Carbon::now()->diffInMilliseconds($this->executionTime),
'duration_ms' => $this->executionTime->diffInMilliseconds(Carbon::now()),
'dispatched' => $this->dispatchedCount,
'skipped' => $this->skippedCount,
]);