#!/usr/bin/env puma

root = File.dirname(__FILE__) + '/../'

directory root
rackup root + 'config.ru'
environment 'production'
bind 'tcp://0.0.0.0:8080'
daemonize unless ENV['DOCKERIZED']
pidfile root + 'tmp/pids/server.pid'
unless ENV['DOCKERIZED']
  stdout_redirect root + 'log/puma.log', root + 'log/puma.err.log', true
end
threads 4, 32
workers 1

#!/usr/bin/env puma

root = File.dirname(__FILE__) + '/../'

directory root
rackup root + 'config.ru'
environment 'production'
bind 'tcp://0.0.0.0:8080'
daemonize unless ENV['DOCKERIZED']
pidfile root + 'tmp/pids/server.pid'
unless ENV['DOCKERIZED']
  stdout_redirect root + 'log/puma.log', root + 'log/puma.err.log', true
end
threads 2, 8
workers 5

Update worker count per node
Update worker count per node
