Decrease count of threads

This commit is contained in:
Vokhmin Alexey V 2013-12-02 16:49:50 +04:00
parent b4a07c12be
commit ffd7232692
1 changed files with 1 additions and 1 deletions

View File

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