Created
March 18, 2015 18:45
-
-
Save HansHauge/42af3fabd8970d60756e to your computer and use it in GitHub Desktop.
config/unicorn.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you have a very small app you may be able to | |
# increase this, but in general 3 workers seems to | |
# work best | |
worker_processes 3 | |
# Load your app into the master before forking | |
# workers for super-fast worker spawn times | |
preload_app true | |
# Immediately restart any workers that | |
# haven't responded within 90 seconds | |
timeout 90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment