1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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