From d467084fb7456957f62b5f610fc1de214562ca3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 22 Nov 2022 09:36:36 +0100 Subject: [PATCH] Bump mastodon sidekiq threads to 32. --- roles/docker/tasks/services/mastodon.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/docker/tasks/services/mastodon.yml b/roles/docker/tasks/services/mastodon.yml index c3e976a..1066340 100644 --- a/roles/docker/tasks/services/mastodon.yml +++ b/roles/docker/tasks/services/mastodon.yml @@ -94,7 +94,9 @@ image: "tootsuite/mastodon:{{ mastodon_version }}" restart: always env_file: "{{ mastodon.volume_folder }}/env_file" - command: bundle exec sidekiq + command: bundle exec sidekiq -c 32 + environment: + DB_POOL: 32 depends_on: - db - redis