From 11663b014288052c222beadebd12aa5242aed758 Mon Sep 17 00:00:00 2001 From: ajaysi Date: Mon, 6 Apr 2026 08:48:57 +0530 Subject: [PATCH] Use Gunicorn with app:app for faster port binding --- backend/Procfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Procfile b/backend/Procfile index 993f7c66..002e5254 100644 --- a/backend/Procfile +++ b/backend/Procfile @@ -1,3 +1,3 @@ -# Use start_alwrity_backend.py for deployment -# This script handles all bootstrap logic and starts uvicorn -web: python start_alwrity_backend.py +# Use gunicorn with app:app for faster startup +# Gunicorn binds to port immediately, then loads app in background +web: gunicorn app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT --timeout 600