From 6ae27293ce9b58eef6f6ca26df45603a7c4b4656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Wed, 28 Feb 2018 15:11:22 +0100 Subject: [PATCH] Set the number of ActiveRecord DB pools to 50 in the Sidekiq service --- .../templates/default/mastodon-sidekiq.systemd.service.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos-mastodon/templates/default/mastodon-sidekiq.systemd.service.erb b/site-cookbooks/kosmos-mastodon/templates/default/mastodon-sidekiq.systemd.service.erb index 8346649..6a00a30 100644 --- a/site-cookbooks/kosmos-mastodon/templates/default/mastodon-sidekiq.systemd.service.erb +++ b/site-cookbooks/kosmos-mastodon/templates/default/mastodon-sidekiq.systemd.service.erb @@ -8,7 +8,7 @@ Type=simple User=<%= @user %> WorkingDirectory=<%= @app_dir %> Environment="RAILS_ENV=production" -Environment="DB_POOL=5" +Environment="DB_POOL=50" ExecStart=<%= @bundle_path %> exec sidekiq -c 5 -q default -q mailers -q pull -q push TimeoutSec=15 Restart=always