Optimized linked shows schedule filling
* Fairly big improvement in memory usage and execution time for 24 hour linked shows (memory usage no longer grows with show length)
This commit is contained in:
parent
33f397f577
commit
f072d60ff1
2 changed files with 132 additions and 93 deletions
|
@ -280,6 +280,14 @@ class CcShow extends BaseCcShow {
|
|||
}
|
||||
return $instanceIds;
|
||||
}
|
||||
|
||||
public function getFutureInstanceIds() {
|
||||
$instanceIds = array();
|
||||
foreach ($this->getFutureCcShowInstancess() as $ccShowInstance) {
|
||||
$instanceIds[] = $ccShowInstance->getDbId();
|
||||
}
|
||||
return $instanceIds;
|
||||
}
|
||||
|
||||
public function getOtherInstances($instanceId)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue