Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
fix: crash when telemetry is disabled and lifespan is enabled (#19207)
Mikail673fb4a9814e
diff --git a/Dockerfile b/Dockerfileindex 0d5009a206..5ce6d296ec 100644--- a/Dockerfile+++ b/Dockerfile@@ -64,4 +64,4 @@ LABEL org.opencontainers.image.title="saleor/saleor" \org.opencontainers.image.authors="Saleor Commerce (https://saleor.io)" \org.opencontainers.image.licenses="BSD-3-Clause"-CMD ["uvicorn", "saleor.asgi:application", "--host=0.0.0.0", "--port=8000", "--workers=2", "--lifespan=on", "--ws=none", "--no-server-header", "--no-access-log", "--timeout-keep-alive=35", "--timeout-graceful-shutdown=30", "--limit-max-requests=10000"]+CMD ["uvicorn", "saleor.asgi:application", "--host=0.0.0.0", "--port=8000", "--workers=2", "--lifespan=auto", "--ws=none", "--no-server-header", "--no-access-log", "--timeout-keep-alive=35", "--timeout-graceful-shutdown=30", "--limit-max-requests=10000"]