diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-07-08 19:53:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 19:53:43 +0200 |
commit | f040b9aee3f84cb3ba8926fed81d47df3f1094a7 (patch) | |
tree | b0060a43c4bf69e441e33de77a49006fa2ac033c /dist | |
parent | 0c2eb949fc21ceecbd99a81e5ffe75517a1e64df (diff) | |
parent | 101f8616feb845f70ef89fa0d0b3ebc37c472930 (diff) |
Merge pull request #1562 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'dist')
-rw-r--r-- | dist/mastodon-sidekiq.service | 1 | ||||
-rw-r--r-- | dist/mastodon-web.service | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/dist/mastodon-sidekiq.service b/dist/mastodon-sidekiq.service index 9dd21b8a0..35b121cd7 100644 --- a/dist/mastodon-sidekiq.service +++ b/dist/mastodon-sidekiq.service @@ -9,6 +9,7 @@ WorkingDirectory=/home/mastodon/live Environment="RAILS_ENV=production" Environment="DB_POOL=25" Environment="MALLOC_ARENA_MAX=2" +Environment="LD_PRELOAD=libjemalloc.so" ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 25 TimeoutSec=15 Restart=always diff --git a/dist/mastodon-web.service b/dist/mastodon-web.service index c106a4860..f41efd2b0 100644 --- a/dist/mastodon-web.service +++ b/dist/mastodon-web.service @@ -8,6 +8,7 @@ User=mastodon WorkingDirectory=/home/mastodon/live Environment="RAILS_ENV=production" Environment="PORT=3000" +Environment="LD_PRELOAD=libjemalloc.so" ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb ExecReload=/bin/kill -SIGUSR1 $MAINPID TimeoutSec=15 |