More mem usage logs
This commit is contained in:
parent
2bc8f6d403
commit
f863f4dfcf
|
@ -319,6 +319,7 @@ class Application_Service_ShowService
|
|||
$ccShows = array();
|
||||
|
||||
foreach ($ccShowDays as $day) {
|
||||
Logging::info(memory_get_usage()/(1024*1024));
|
||||
|
||||
$this->ccShow = $day->getCcShow();
|
||||
$this->isRecorded = $this->ccShow->isRecorded();
|
||||
|
@ -333,6 +334,7 @@ class Application_Service_ShowService
|
|||
$this->createNonRepeatingInstance($day, $populateUntil);
|
||||
break;
|
||||
case REPEAT_WEEKLY:
|
||||
Logging::info(memory_get_usage()/(1024*1024));
|
||||
$this->createWeeklyRepeatInstances($day, $populateUntil, REPEAT_WEEKLY,
|
||||
new DateInterval("P7D"), $daysAdded);
|
||||
break;
|
||||
|
@ -356,6 +358,7 @@ class Application_Service_ShowService
|
|||
break;
|
||||
}
|
||||
}
|
||||
Logging::info(memory_get_usage()/(1024*1024));
|
||||
|
||||
foreach ($ccShows as $ccShow) {
|
||||
if (($this->isUpdate || $fillInstances) && $ccShow->isLinked()) {
|
||||
|
|
Loading…
Reference in New Issue