diff options
Diffstat (limited to 'examples/rails_app-2.3.4/rainbows_config.rb')
-rw-r--r-- | examples/rails_app-2.3.4/rainbows_config.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/rails_app-2.3.4/rainbows_config.rb b/examples/rails_app-2.3.4/rainbows_config.rb new file mode 100644 index 0000000..9222bef --- /dev/null +++ b/examples/rails_app-2.3.4/rainbows_config.rb @@ -0,0 +1,13 @@ +# we need thread-safety for Rails with Revactor +ENV["RAILS_ENV"] = "production" + +listen 8080 +# 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 |