Spin up additional sidekiq workers

Hi!

Can someone explain to me how to spin up additional workers to clean up a sidekiq queue, please?

I have found an old topic but it does not work with current discourse distribution.

Thank you!

1 Like

Simplest way is rebuilding Discourse with

env:
   UNICORN_SIDEKIQS: 8 

:warning: this will start 8 sidekiqs

:red_circle: Don’t add 2 env sections to your app.yml just add the line to existing section.

7 Likes

Thank you for your answer. I have resized my droplet to 16GB 6 CPU, and increased number of sidekiqs to 12. I see improvement but my top shows that only 3 are 5 of 5 busy:

Or is it the way it should look like?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.