From a0da80bc700cb7eafd43c8668ec12d4cdca25c8d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 31 Aug 2021 00:24:20 -0600 Subject: [PATCH] Update media gc command --- app/Console/Commands/FailedJobGC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }