From c5e8ac6fd14760134c61b15338ebb2bb40426ed2 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 19 Apr 2013 09:39:54 +1000 Subject: [PATCH] Newrelic unicorn compatibility --- config/unicorn.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index 6f6f2fcc14..b1ba7bad1d 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,2 +1,3 @@ +preload_app true # https://newrelic.com/docs/ruby/no-data-with-unicorn worker_processes 4 # amount of unicorn workers to spin up -timeout 30 # restarts workers that hang for 30 seconds \ No newline at end of file +timeout 30 # restarts workers that hang for 30 seconds