Merge pull request #241 from ProgVal/patch-3

Add missing queue to the sidekiq command
This commit is contained in:
Eugen Rochko 2017-05-11 04:52:25 +02:00 committed by GitHub
commit c6a88116f8
1 changed files with 1 additions and 1 deletions

View File

@ -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).