Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6c5c835

Browse files
ENGCOM-3002: Complexity limiter prototype #133
- Merge Pull Request magento/graphql-ce#133 from magento/graphql-ce:complexity-limiter - Merged commits: 1. 6a68bd8 2. 660e393 3. 351ae37 4. 9aedd10 5. 88fb398 6. 99b1d1d 7. 335c173 8. ce50f48 9. b1227fc 10. b91f5c8 11. fc80a85 12. 9302a4f 13. 0a4e959 14. e47e861 15. 1847c71 16. 6392294 17. 4328497 18. 889824e
2 parents ced96c1 + 889824e commit 6c5c835

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)