forked from mirror/pixelfed
Update media:optimize command
This commit is contained in:
parent
bd05f63dec
commit
9524ea19f5
|
@ -42,6 +42,7 @@ class CatchUnoptimizedMedia extends Command
|
|||
{
|
||||
DB::transaction(function() {
|
||||
Media::whereNull('processed_at')
|
||||
->whereNull('remote_url')
|
||||
->whereNotNull('status_id')
|
||||
->whereNotNull('media_path')
|
||||
->whereIn('mime', [
|
||||
|
|
Loading…
Reference in New Issue