Add DB_POOL env var to sidekiq
Also reduce concurrency to 10 jobs/connections
pidfile="/var/run/mastodon-sidekiq.pid"
mastodon_sidekiq_chdir="/home/mastodon/live"
-mastodon_sidekiq_env="RAILS_ENV=production"
+mastodon_sidekiq_env="RAILS_ENV=production DB_POOL=10"
command="/usr/sbin/daemon"
-command_args="-u mastodon -P ${pidfile} -H -o /var/log/mastodon/sidekiq.log /usr/local/bin/bundle exec sidekiq -c 25"
+command_args="-u mastodon -P ${pidfile} -H -o /var/log/mastodon/sidekiq.log /usr/local/bin/bundle exec sidekiq -c 10"
# read configuration and set defaults
load_rc_config "$name"