From 2c51aa53f8e257ca70d6f782e077916a52dca099 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 10 May 2017 19:21:51 +0200 Subject: [PATCH] Add missing queue to the sidekiq command --- Running-Mastodon/Tuning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running-Mastodon/Tuning.md b/Running-Mastodon/Tuning.md index 53613121..c72d1d7a 100644 --- a/Running-Mastodon/Tuning.md +++ b/Running-Mastodon/Tuning.md @@ -36,7 +36,7 @@ While the amount of threads in the web process affects the responsiveness of the The amount of threads is not controlled by an environment variable in this case, but a command line argument in the invocation of Sidekiq: - bundle exec sidekiq -c 15 -q default -q mailers -q push + bundle exec sidekiq -c 15 -q default -q mailers -q push -q pull Would start the sidekiq process with 15 threads. Please mind that each threads needs to be able to connect to the database, which means that the database pool needs to be large enough to support all the threads. The database pool size is controlled with the `DB_POOL` environment variable, and defaults to the value of `MAX_THREADS` (therefore, is 5 by default).