Files
danbooru/config/deploy/production.rb
evazion 909b20c453 delayed jobs: reduce workers from 12 to 8.
Reduce worker count to reduce memory usage. Most are normally idle anyway.
2020-04-23 13:52:23 -05:00

13 lines
390 B
Ruby

set :user, "danbooru"
set :rails_env, "production"
set :delayed_job_workers, 8
append :linked_files, ".env.production"
server "kagamihara", :roles => %w(web app cron), :primary => true
server "shima", :roles => %w(web app)
server "saitou", :roles => %w(web app)
server "oogaki", :roles => %w(worker)
set :newrelic_appname, "Danbooru"
after "deploy:finished", "newrelic:notice_deployment"