upr.git  about / heads / tags
Upload Progress for Rack
blob 18c76be9801d17d00725e2fa57f4cad1c7f29c1c 375 bytes (raw)
$ git show HEAD:examples/rails_app-2.3.4/rainbows_config.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
# we need thread-safety for Rails with Revactor
ENV["RAILS_ENV"] = "production"

listen 8080, :tcp_nodelay => true
# we're lazy and are just using the Moneta::Memory store
worker_processes 1
Rainbows! do
  use :Revactor
  worker_connections 1000
end

# unclobber the Rails override of the logger formatter :<
Configurator::DEFAULTS[:logger].formatter = Logger::Formatter.new

git clone https://yhbt.net/upr.git