diff --git a/app/Console/Commands/RebuildTrackCache.php b/app/Console/Commands/RebuildTrackCache.php index 510236ba..5b4386d1 100644 --- a/app/Console/Commands/RebuildTrackCache.php +++ b/app/Console/Commands/RebuildTrackCache.php @@ -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 ----------');