summaryrefslogtreecommitdiff
path: root/examples/rails_app-2.3.4/rainbows_config.rb
blob: 18c76be9801d17d00725e2fa57f4cad1c7f29c1c (plain)
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