Sha256: 2ff0992887d6c373a39e6d23107383a5ddd9a27dc27c4b215383634ad932b801

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

class Recipes::Puma < Rails::AppBuilder
  def create
    gather_gems(:production) do
      gather_gem 'rack-timeout'
    end

    copy_file '../assets/config/puma.rb', 'config/puma.rb', force: true

    # Configure rack-timout
    application "Rack::Timeout.timeout = (ENV[\"RACK_TIMEOUT\"] || 10).to_i", env: "production"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
potassium-5.2.0 lib/potassium/recipes/puma.rb