Skip to content

Commit 3ba0ed4

Browse files
author
Valeriy Naida
authored
ENGCOM-3002: Complexity limiter prototype #133
2 parents 323735b + 6c5c835 commit 3ba0ed4

File tree

4 files changed

+543
-7
lines changed

4 files changed

+543
-7
lines changed

app/code/Magento/GraphQl/etc/di.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,10 @@
9797
</argument>
9898
</arguments>
9999
</type>
100+
<type name="Magento\Framework\GraphQl\Query\QueryComplexityLimiter">
101+
<arguments>
102+
<argument name="queryDepth" xsi:type="number">20</argument>
103+
<argument name="queryComplexity" xsi:type="number">300</argument>
104+
</arguments>
105+
</type>
100106
</config>

0 commit comments

Comments
 (0)