Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created August 9, 2011 13:25
Show Gist options
  • Save BDQ/1134034 to your computer and use it in GitHub Desktop.
Save BDQ/1134034 to your computer and use it in GitHub Desktop.
worker_processes 4
preload_app true
timeout 30
listen 3000
after_fork do |server, worker|
ActiveRecord::Base.establish_connection
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment