Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use Saleor's custom UvicornWorker to avoid lifespan warnings (#9915)

Carlos Ramírez9090814b9046
diff --git a/Procfile b/Procfile
index 45e3e80011..d5bd2920e4 100644
--- a/Procfile
+++ b/Procfile
@@ -1,3 +1,3 @@
release: python manage.py migrate --no-input
-web: gunicorn --bind :$PORT --workers 4 --worker-class uvicorn.workers.UvicornWorker saleor.asgi:application
+web: gunicorn --bind :$PORT --workers 4 --worker-class saleor.asgi.gunicorn_worker.UvicornWorker saleor.asgi:application
celeryworker: celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info -E