Created
January 18, 2018 18:19
-
-
Save raws/b3e0e8340fab9184028b9d8dbdd5e572 to your computer and use it in GitHub Desktop.
Puma config snippet
This file contains 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
workers Integer(ENV.fetch('WEB_CONCURRENCY', '2')) / 2 | |
threads_count = ENV.fetch('RAILS_MAX_THREADS', '2') | |
threads threads_count, threads_count | |
preload_app! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment