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

This commit is contained in:
Andras Bacsai
2026-02-23 12:20:15 +01:00
committed by GitHub
+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,
]);