Skip to content

Commit da9e778

Browse files
authored
Merge pull request #275 from Den4ik/fix/increase-json-encode-depth
Increased max depth in json_encode for FlameChart
2 parents 158a8d4 + d34d718 commit da9e778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/Profiler/Interfaces/Queries/FindFlameChartByUuidHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __invoke(FindFlameChartByUuid $query): array
6767
}
6868

6969
$this->adjustStartTimes($waterfall, 0);
70-
$this->bucket->write($file, \json_encode($waterfall));
70+
$this->bucket->write($file, \json_encode($waterfall, 0, 5000));
7171

7272
return $waterfall;
7373
}

0 commit comments

Comments
 (0)