添加 sidekiq 命名空间, 防止与其他应用冲突
This commit is contained in:
parent
023a135480
commit
9112b200ab
|
@ -0,0 +1,7 @@
|
|||
Sidekiq.configure_server do |config|
|
||||
config.redis = { :namespace => 'wblog' }
|
||||
end
|
||||
|
||||
Sidekiq.configure_client do |config|
|
||||
config.redis = { :namespace => 'wblog' }
|
||||
end
|
|
@ -3,8 +3,8 @@
|
|||
:pidfile: tmp/pids/sidekiq.pid
|
||||
:logfile: log/sidekiq.log
|
||||
staging:
|
||||
:concurrency: 10
|
||||
:concurrency: 2
|
||||
production:
|
||||
:concurrency: 20
|
||||
:concurrency: 2
|
||||
:queues:
|
||||
- [default, 2]
|
||||
|
|
Loading…
Reference in New Issue