Skip to content
Snippets Groups Projects
Verified Commit d9e01056 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

graphql: Update the default max query cost configuration

Split the max query cost for authenticated and unauthenticated users

Related to swh/infra/sysadm-environment#4785
parent 132e933e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,8 @@ data:
introspection: {{ .Values.graphql.introspection }}
max_query_cost:
anonymous: {{ .Values.graphql.maxQueryCost}}
anonymous: {{ .Values.graphql.anonymousUserMaxQueryCost}}
user: {{ .Values.graphql.authenticatedUserMaxQueryCost}}
{{ if .Values.graphql.auth -}}
auth:
......
......@@ -15,7 +15,8 @@ graphql:
debug: no
introspection: yes
# maxQueryCost for anonymous users
maxQueryCost: 500
anonymousUserMaxQueryCost: 50
authenticatedUserMaxQueryCost: 500
sentry:
enabled: false
# name of the secret containing the $secretKeyName value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment