Sha256: 285bed6f2f24cc4e30b1034e8bd1eb1c700f314477e95551c97bbfaee023afa8

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

require 'rack'
require 'rack/server'

run Proc.new {|env| [200, {}, ['Hello World']] }



require 'puma_auto_tune'

PumaAutoTune.config do |config|
  config.ram       = Integer(ENV['PUMA_RAM'])       if ENV['PUMA_RAM']
  config.frequency = Integer(ENV['PUMA_FREQUENCY']) if ENV['PUMA_FREQUENCY']
end
PumaAutoTune.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puma_auto_tune-0.0.1 test/fixtures/app.ru