diff --git a/app/Console/Commands/FailedJobGC.php b/app/Console/Commands/FailedJobGC.php index f48d49b8..f50d97af 100644 --- a/app/Console/Commands/FailedJobGC.php +++ b/app/Console/Commands/FailedJobGC.php @@ -40,7 +40,7 @@ class FailedJobGC extends Command { FailedJob::chunk(50, function($jobs) { foreach($jobs as $job) { - if($job->failed_at->lt(now()->subMonth())) { + if($job->failed_at->lt(now()->subHours(48))) { $job->delete(); } }