From 4902d4dab30f045193714ccbfebd787a465d3f45 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 28 Jan 2017 20:59:54 +0530 Subject: [PATCH] unicorn.rb: sync with upstream --- assets/runtime/config/gitlabhq/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/config/gitlabhq/unicorn.rb b/assets/runtime/config/gitlabhq/unicorn.rb index 62f650c2..ee8c0cf9 100644 --- a/assets/runtime/config/gitlabhq/unicorn.rb +++ b/assets/runtime/config/gitlabhq/unicorn.rb @@ -82,7 +82,7 @@ GC.respond_to?(:copy_on_write_friendly=) and check_client_connection false before_fork do |server, worker| - # the following is highly recomended for Rails + "preload_app true" + # the following is highly recommended for Rails + "preload_app true" # as there's no need for the master process to hold a connection defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect!