Browse Source

增加sidekiq线程数

pull/330/head
xxq250 3 years ago
parent
commit
fb745453c2
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      config/sidekiq.yml

+ 12
- 12
config/sidekiq.yml 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]

Loading…
Cancel
Save