1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Add variables

This commit is contained in:
Jake Barnby 2022-04-07 18:37:46 +12:00
parent d9c0d1d556
commit c2ee34584e
No known key found for this signature in database
GPG key ID: A4674EBC0E404657
3 changed files with 39 additions and 0 deletions

3
.env
View file

@ -63,6 +63,9 @@ _APP_USAGE_AGGREGATION_INTERVAL=30
_APP_USAGE_STATS=enabled
_APP_LOGGING_PROVIDER=
_APP_LOGGING_CONFIG=
_APP_GRAPHQL_MAX_COMPLEXITY=200
_APP_GRAPHQL_MAX_DEPTH=3
_APP_GRAPHQL_REQUEST_TIMEOUT=30
DOCKERHUB_PULL_USERNAME=
DOCKERHUB_PULL_PASSWORD=
DOCKERHUB_PULL_EMAIL=

View file

@ -694,5 +694,38 @@ return [
]
],
],
[
'category' => 'GraphQL',
'description' => '',
'variables' => [
[
'name' => '_APP_GRAPHQL_MAX_COMPLEXITY',
'description' => 'Maximum complexity of a GraphQL query. The default value is 200.',
'introduction' => '0.15.0',
'default' => '200',
'required' => false,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_GRAPHQL_MAX_DEPTH',
'description' => 'Maximum depth of a GraphQL query. The default value is 3.',
'introduction' => '0.15.0',
'default' => '3',
'required' => false,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_GRAPHQL_REQUEST_TIMEOUT',
'description' => 'Maximum time (in seconds) to wait for a GraphQL request to complete. The default value is 30.',
'introduction' => '0.15.0',
'default' => '30',
'required' => false,
'question' => '',
'filter' => ''
],
],
],
],
];

View file

@ -149,6 +149,9 @@ services:
- _APP_MAINTENANCE_RETENTION_EXECUTION
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
- _APP_GRAPHQL_MAX_COMPLEXITY
- _APP_GRAPHQL_MAX_DEPTH
- _APP_GRAPHQL_REQUEST_TIMEOUT
- PHP_IDE_CONFIG=serverName=swoole-http
appwrite-realtime: