We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ce818 commit d8a75c5Copy full SHA for d8a75c5
bin/compile
@@ -24,6 +24,7 @@ CACHED_DIRS=".heroku"
24
VIRTUALENV_LOC=".heroku/venv"
25
LEGACY_TRIGGER="lib/python2.7"
26
PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh"
27
+WEBCONCURRENCY_PROFILE_PATH="$BUILD_DIR/.profile.d/python.webconcurrency.sh"
28
29
DEFAULT_PYTHON_VERSION="python-2.7.9"
30
DEFAULT_PYTHON_STACK="cedar"
@@ -185,6 +186,9 @@ set-default-env LANG en_US.UTF-8
185
186
set-default-env PYTHONHASHSEED random
187
set-default-env PYTHONPATH /app/
188
189
+# Install sane-default script for WEB_CONCURRENCY environment variable.
190
+cp $ROOT_DIR/vendor/python.webconcurrency.sh $WEBCONCURRENCY_PROFILE_PATH
191
+
192
193
# Experimental post_compile hook.
194
bpwatch start post_compile
0 commit comments