Update media gc command

This commit is contained in:
Daniel Supernault 2021-08-31 00:24:20 -06:00
parent fee2857deb
commit a0da80bc70
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -40,7 +40,7 @@ class FailedJobGC extends Command
{ {
FailedJob::chunk(50, function($jobs) { FailedJob::chunk(50, function($jobs) {
foreach($jobs as $job) { foreach($jobs as $job) {
if($job->failed_at->lt(now()->subMonth())) { if($job->failed_at->lt(now()->subHours(48))) {
$job->delete(); $job->delete();
} }
} }