Skip to content

Commit

Permalink
HEROKU_SKIP_WEB_DYNO
Browse files Browse the repository at this point in the history
Temporary workaround for heroku#1355
  • Loading branch information
dentarg committed Feb 22, 2023
1 parent 1beb207 commit 3b38065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/language_pack/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def default_config_vars
end

def default_process_types
return super if env("HEROKU_SKIP_WEB_DYNO")

# let's special case thin here if we detect it
web_process = bundler.has_gem?("thin") ?
"bundle exec thin start -R config.ru -e $RACK_ENV -p ${PORT:-5000}" :
Expand Down

0 comments on commit 3b38065

Please sign in to comment.