Skip to content

Commit 6fc903f

Browse files
committed
chore: Rollback EPG cache refresh updates
1 parent 1766cbe commit 6fc903f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/Console/Commands/RefreshEpg.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ public function handle()
4040
} else {
4141
$this->info('Refreshing all EPGs');
4242

43-
// First, let's see if we have any EPGs that have processed, but errored out creating a cache
44-
$failed = Epg::query()
45-
->where([
46-
['status', Status::Failed],
47-
['auto_sync', '=', true],
48-
['is_cached', '=', false],
49-
])->whereNotNull('synced')->get();
50-
foreach ($failed as $epg) {
51-
$this->info("Attempting to re-cache EPG: {$epg->id}");
52-
dispatch(new GenerateEpgCache($epg->uuid));
53-
}
54-
5543
// Next, let's get all EPGs that are not currently processing and check if they are due for a sync
5644
$epgs = Epg::query()->where([
5745
['status', '!=', Status::Processing],

0 commit comments

Comments
 (0)