Decrease count of workers
This commit is contained in:
parent
e76dd21275
commit
0fdc86c62c
|
@ -5,8 +5,8 @@ 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,4').split(',')
|
threads *(ENV['PUMA_THREADS'] || '1,6').split(',')
|
||||||
workers ENV['PUMA_WORKERS'] || 5
|
workers ENV['PUMA_WORKERS'] || 4
|
||||||
|
|
||||||
|
|
||||||
preload_app!
|
preload_app!
|
||||||
|
|
Loading…
Reference in New Issue