mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-01-31 03:16:42 +01:00
#4: Don't try re-encoding master files when rebuilding the track cache.
This commit is contained in:
parent
74ae2931dc
commit
87f796f50b
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ class RebuildTrackCache extends Command
|
|||
$count = 0;
|
||||
|
||||
// Chunk non-cacheable track files
|
||||
TrackFile::where('is_cacheable', false)->chunk(200, function ($trackFiles) use (&$count) {
|
||||
TrackFile::where('is_cacheable', false)
|
||||
->where('is_master', false)
|
||||
->chunk(200, function ($trackFiles) use (&$count) {
|
||||
$this->output->newLine(1);
|
||||
$this->info('---------- Start Chunk ----------');
|
||||
|
||||
|
|
Loading…
Reference in a new issue