Created
September 8, 2018 14:51
-
-
Save adamlogic/781e6ed641961e36ba60084cdf9ca2de to your computer and use it in GitHub Desktop.
Sample Procfile using parameter expansion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release: RAILS_MAX_THREADS=1 rails db:migrate | |
web: RAILS_MAX_THREADS=$PUMA_THREADS rails c | |
worker: RAILS_MAX_THREADS=$SIDEKIQ_THREADS bundle exec sidekiq | |
# heroku config:add RAILS_MAX_THREADS=1 so one-off dynos don't consume more than necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment