Skip to content

Commit

Permalink
cms@99a8f9a
Browse files Browse the repository at this point in the history
Merge branch 'hotfix/4.5.11.1' into main
  • Loading branch information
shinybrad committed Dec 7, 2023
1 parent 9fc38aa commit 749a0f8
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/.artifacts/cms/4.x/config-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -4504,6 +4504,37 @@ CRAFT_GQL_TYPE_PREFIX=craft_
### `maxGraphqlBatchSize`
<div class="compact">
Allowed types
: [integer](https://php.net/language.types.integer)
Default value
: `0`
Defined by
: [GeneralConfig::$maxGraphqlBatchSize](craft4:craft\config\GeneralConfig::$maxGraphqlBatchSize)
Since
: 4.5.5
</div>
The maximum allowed GraphQL queries that can be executed in a single batched request. Set to `0` to allow any number of queries.
::: code
```php Static Config
->maxGraphqlBatchSize(5)
```
```shell Environment Override
CRAFT_MAX_GRAPHQL_BATCH_SIZE=5
```
:::
### `maxGraphqlComplexity`
<div class="compact">
Expand All @@ -4517,10 +4548,22 @@ Default value
Defined by
: [GeneralConfig::$maxGraphqlComplexity](craft4:craft\config\GeneralConfig::$maxGraphqlComplexity)
Since
: 3.6.0
</div>
The maximum allowed complexity a GraphQL query is allowed to have. Set to `0` to allow any complexity.
::: code
```php Static Config
->maxGraphqlComplexity(500)
```
```shell Environment Override
CRAFT_MAX_GRAPHQL_COMPLEXITY=500
```
:::
### `maxGraphqlDepth`
Expand Down

0 comments on commit 749a0f8

Please sign in to comment.