Skip to content

Commit b63e9be

Browse files
authored
Merge pull request #810 from cakephp/configure-node-depth
Reduce maximum node depth for variables to 3 to avoid massive memory use
2 parents 752e365 + b3c7509 commit b63e9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Panel/VariablesPanel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function shutdown(EventInterface $event)
102102
$errors[$k] = $formErrors;
103103
}
104104
}
105-
$content[$k] = Debugger::exportVarAsNodes($v, 15);
105+
$content[$k] = Debugger::exportVarAsNodes($v, 5);
106106
}
107107

108108
$this->_data = [

0 commit comments

Comments
 (0)