Skip to content

Commit ee89e5c

Browse files
ChristophWurstbackportbot[bot]
authored andcommitted
fix(cron): Log long running jobs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> [skip ci]
1 parent cb63256 commit ee89e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
$executedJobs[$job->getId()] = true;
160160
unset($job);
161161

162-
if (time() > $endTime) {
162+
if ($timeAfter > $endTime) {
163163
break;
164164
}
165165
}

0 commit comments

Comments
 (0)