emk / heroku-buildpack-rust

A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.
522 stars 186 forks source link

Support for `WEB_CONCURRENCY` #61

Open rharish101 opened 2 years ago

rharish101 commented 2 years ago

This buildpack doesn't set the WEB_CONCURRENCY environment variable. For example, the official Python buildpack sets it. I'm guessing that this is set by Heroku themselves, and the buildpacks just expose it. Here's a link that mentions the use of WEB_CONCURRENCY for Python.

Could you look into this, and add support if it's feasible and makes sense for Rust servers?