reduce puma workers and threads

This commit is contained in:
Tomasz Paweł Gajc 2018-03-20 11:00:03 +01:00 committed by GitHub
parent 0945af7315
commit 91d87ebd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ base_path = "/app/rosa-build"
bind 'unix:///app/rosa-build/rosa_build.sock'
environment ENV['RAILS_ENV'] || 'production'
threads *(ENV['PUMA_THREADS'] || '16,16').split(',')
workers ENV['PUMA_WORKERS'] || 7
threads *(ENV['PUMA_THREADS'] || '12,12').split(',')
workers ENV['PUMA_WORKERS'] || 5
preload_app!