From 909b20c453d9dad6502db7cd9b15f004ddbcf15f Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 23 Apr 2020 13:52:23 -0500 Subject: [PATCH] delayed jobs: reduce workers from 12 to 8. Reduce worker count to reduce memory usage. Most are normally idle anyway. --- config/deploy/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index c188cb506..a2fa7ac5c 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,6 +1,6 @@ set :user, "danbooru" set :rails_env, "production" -set :delayed_job_workers, 12 +set :delayed_job_workers, 8 append :linked_files, ".env.production" server "kagamihara", :roles => %w(web app cron), :primary => true