mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
unicorn.rb: sync with upstream
This commit is contained in:
parent
dca8b41a10
commit
4902d4dab3
@ -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!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user