mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update media gc command
This commit is contained in:
parent
fee2857deb
commit
a0da80bc70
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue