updated start scripts to run in subshells

This commit is contained in:
Alok Saldanha
2025-11-08 17:51:06 -05:00
parent cd9c0a3671
commit 79fef57010
3 changed files with 4 additions and 3 deletions
Regular → Executable
+1 -1
View File
@@ -76,7 +76,7 @@ cd "$SCRIPT_DIR"
# Additional options you can add via environment variables:
# - GUNICORN_MAX_REQUESTS: Restart worker after N requests (prevents memory leaks)
# - GUNICORN_MAX_REQUESTS_JITTER: Add randomness to max-requests
gunicorn cellxgene_gateway.gateway:app \
exec gunicorn cellxgene_gateway.gateway:app \
--workers "$WORKERS" \
--worker-class "$WORKER_CLASS" \
--bind "$BIND" \