设置好的,我正在Heroku(免费套餐)上运行Rails应用程序。我有2个单独的应用程序版本,我们称它们为Staging和Fake-Production。在Staging中,我使用Webbrick作为服务器。我的Procfile是web:railss-p$PORT在Fake-Production中,我使用Puma作为服务器。我的Procfile是bundleexecpuma-Cconfig/puma.rb我已将puma配置为使用2个工作线程和每个工作线程1个线程运行。config/puma.rb定义如下(取自Heroku'sSettingupPumaWebserver)workersI