增加sidekiq线程数

This commit is contained in:
xxq250 2023-04-25 17:22:25 +08:00
parent 831fad554c
commit fb745453c2
1 changed files with 12 additions and 12 deletions

View File

@ -1,12 +1,12 @@
:concurrency: <%= ENV["sidekiq_threads"] || 20 %>
:pidfile: tmp/pids/sidekiq.pid
:logfile: log/sidekiq.log
:timeout: 30
:queues:
- [default, 3]
- [searchkick, 10]
- [notify, 100]
- [mailers, 101]
- [cache, 10]
- [message, 20]
- [webhook, 20]
:concurrency: <%= ENV["sidekiq_threads"] || 40 %>
:pidfile: tmp/pids/sidekiq.pid
:logfile: log/sidekiq.log
:timeout: 30
:queues:
- [default, 3]
- [searchkick, 10]
- [notify, 100]
- [mailers, 101]
- [cache, 10]
- [message, 20]
- [webhook, 20]