aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-sidekiq.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
committeryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
commit2987ccf8b3aa393dbef79b874dfe5839a0ee10da (patch)
tree67aea4330d8c46fe8fc502f2091f88264b2bcc20 /conf/mastodon-sidekiq.service
parenteeec0653ac3e2c38bf6c46c93fdecf28d8dae1ab (diff)
parent11f2ee86cdad204655f6b5ea398c65e9693ea381 (diff)
downloadmastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.gz
mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.bz2
mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.zip
Merge branch 'develop'
Diffstat (limited to 'conf/mastodon-sidekiq.service')
-rw-r--r--conf/mastodon-sidekiq.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service
index f788332..920fcf4 100644
--- a/conf/mastodon-sidekiq.service
+++ b/conf/mastodon-sidekiq.service
@@ -7,8 +7,9 @@
User=__APP__
WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
- Environment="DB_POOL=20"
- ExecStart=__FINALPATH__/live/bin/bundle exec sidekiq -c 20 -q default -q mailers -q pull -q push
+ Environment="DB_POOL=25"
+ Environment="MALLOC_ARENA_MAX=2"
+ ExecStart=/opt/rbenv/versions/2.6.0/bin/bundle exec sidekiq -c 25
TimeoutSec=15
Restart=always
StandardError=syslog