Skip to content

Commit 4e61d60

Browse files
committed
fixup! feat(jobs): log job execution in CronService
1 parent 417362a commit 4e61d60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Service/CronService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private function runCli(string $appMode, ?array $jobClasses): void {
206206
$memoryIncrease = memory_get_usage() - $referenceMemory;
207207
$timeSpent = microtime(true) - $startTime;
208208
$jobMemoryPeak = memory_get_peak_usage();
209-
// TODO Job failure will never be catched here because exceptions are catched within $job->start method
209+
// TODO Job failure will never be caught here because exceptions are catched within $job->start method
210210
// The error will only be visible in server logs.
211211
// It should be a temporary state until a proper job runner is implemented.
212212
$this->jobRuns->finished($jobRunId, (int)($timeSpent * 1000), (int)($jobMemoryPeak / 1024));

0 commit comments

Comments
 (0)