Skip to content

Commit

Permalink
Limit backtrace to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Sep 6, 2017
1 parent bce341e commit a59bd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataCollector/QueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function performQueryAnalysis($query)
*/
protected function findSource()
{
$stack = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT);
$stack = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT, 50);

$sources = [];

Expand Down

0 comments on commit a59bd27

Please sign in to comment.