Decrease count of workers

This commit is contained in:
Vokhmin Alexey V 2013-12-02 17:27:20 +04:00
parent e76dd21275
commit 0fdc86c62c
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ state_path File.join(base_path, 'shared', 'pids', 'puma.state')
bind 'unix:///tmp/rosa_build_unicorn.sock'
environment ENV['RAILS_ENV'] || 'production'
threads *(ENV['PUMA_THREADS'] || '1,4').split(',')
workers ENV['PUMA_WORKERS'] || 5
threads *(ENV['PUMA_THREADS'] || '1,6').split(',')
workers ENV['PUMA_WORKERS'] || 4
preload_app!