-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
classic buildpack parityFeatures required for parity with the classic Heroku Python buildpackFeatures required for parity with the classic Heroku Python buildpacksemver: major
Description
The classic Python buildpack automatically configures the WEB_CONCURRENCY env var based on available total CPU and RAM:
https://github.com/heroku/heroku-buildpack-python/blob/main/vendor/WEB_CONCURRENCY.sh
https://devcenter.heroku.com/articles/python-concurrency
The env var is then used by web servers like gunicorn and uvicorn to automatically set the number of worker processes to spawn.
We should add something similar to the CNB.
Metadata
Metadata
Assignees
Labels
classic buildpack parityFeatures required for parity with the classic Heroku Python buildpackFeatures required for parity with the classic Heroku Python buildpacksemver: major