mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 19:21:36 +00:00
Update app/Jobs/ScheduledTaskJob.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -164,9 +164,6 @@ class ScheduledTaskJob implements ShouldQueue
|
||||
]);
|
||||
|
||||
// Only notify and throw on final failure
|
||||
if ($this->attempts() >= $this->tries) {
|
||||
$this->team?->notify(new TaskFailed($this->task, $e->getMessage()));
|
||||
}
|
||||
|
||||
// Re-throw to trigger Laravel's retry mechanism with backoff
|
||||
throw $e;
|
||||
|
||||
Reference in New Issue
Block a user