We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1766cbe commit 6fc903fCopy full SHA for 6fc903f
app/Console/Commands/RefreshEpg.php
@@ -40,18 +40,6 @@ public function handle()
40
} else {
41
$this->info('Refreshing all EPGs');
42
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
-
55
// Next, let's get all EPGs that are not currently processing and check if they are due for a sync
56
$epgs = Epg::query()->where([
57
['status', '!=', Status::Processing],
0 commit comments