Skip to content
Snippets Groups Projects
Commit acd93479 authored by David Zülke's avatar David Zülke Committed by Kenneth Reitz
Browse files

Handle and produce leading 0 in WEB_CONCURRENCY (#355)

The Node buildpack now exports a leading zero in its numbers. This lets us detect that it (or another buildpack) set the value, and overwrite it accordingly.

Fixes the issue where adding the node buildpack to a Python app would cause only one gunicorn worker to be spawned for a 1X dyno, and not two.

We also need to again produce leading zeroes in the value, so that e.g. the PHP buildpack can do the same on boot.
parent d7e2f0fb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment