Browse Source

Update media gc command

Daniel Supernault 3 years ago
parent
commit
a0da80bc70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/FailedJobGC.php

+ 1 - 1
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();
                 }
             }