#4: Don't try re-encoding master files when rebuilding the track cache.

This commit is contained in:
Peter Deltchev 2015-11-10 00:09:39 -08:00
parent 74ae2931dc
commit 87f796f50b

View file

@ -221,7 +221,9 @@ class RebuildTrackCache extends Command
$count = 0; $count = 0;
// Chunk non-cacheable track files // 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->output->newLine(1);
$this->info('---------- Start Chunk ----------'); $this->info('---------- Start Chunk ----------');