Skip to content

Instantly share code, notes, and snippets.

@neilmiddleton
Last active December 18, 2015 02:39
Show Gist options
  • Save neilmiddleton/5712976 to your computer and use it in GitHub Desktop.
Save neilmiddleton/5712976 to your computer and use it in GitHub Desktop.
Unicorn config
worker_processes ENV["RAILS_ENV"] == 'production' ? 3 : 1
timeout 30
worker_processes ENV.fetch("WORKER_CONCURRENCY", 1).to_i
timeout ENV.fetch("UNICORN_TIMEOUT", 30).to_i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment