Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
fix(graphql): increase mutation limit to 4 (#19095)
Mikailb542ee23e96c
diff --git a/saleor/settings.py b/saleor/settings.pyindex 5b8bb189c0..5bf701ce2e 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -878,7 +878,7 @@ GRAPHQL_MIDDLEWARE: list[str] = []GRAPHQL_BATCH_MAX_COUNT: int = int(os.environ.get("GRAPHQL_BATCH_MAX_COUNT", 1))GRAPHQL_ALIAS_COUNT_LIMIT: int = int(os.environ.get("GRAPHQL_ALIAS_COUNT_LIMIT", 100))GRAPHQL_MUTATION_COUNT_LIMIT: int = int(- os.environ.get("GRAPHQL_MUTATION_COUNT_LIMIT", 3)+ os.environ.get("GRAPHQL_MUTATION_COUNT_LIMIT", 4))# Set GRAPHQL_QUERY_MAX_COMPLEXITY=0 in env to disable (not recommended)