Sha256: f588443666aa43c95873188a30fb9c3dd5c2c70a7fe22a484b26a9b06e42aee3

Contents?: true

Size: 329 Bytes

Versions: 20

Compression:

Stored size: 329 Bytes

Contents

threads_count = ENV.fetch("STEALTH_MAX_THREADS") { 5 }.to_i
threads threads_count, threads_count

# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
#
port ENV.fetch("PORT") { 3000 }

# Specifies the `environment` that Puma will run in.
#
environment ENV.fetch("STEALTH_ENV") { "development" }

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
stealth-1.1.6 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.5 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.4 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.3 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.2 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.1 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.0 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.0.rc3 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.0.rc2 lib/stealth/generators/builder/config/puma.rb
stealth-1.1.0.rc1 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.4 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.3 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.2 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.1 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.0 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.0.rc1 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.0.pre2 lib/stealth/generators/builder/config/puma.rb
stealth-1.0.0.pre1 lib/stealth/generators/builder/config/puma.rb
stealth-0.10.6 lib/stealth/generators/builder/config/puma.rb
stealth-0.10.5 lib/stealth/generators/builder/config/puma.rb