在SideKiq文件中说
Sidekiq.configure_server do |config| config.redis = {:namespace => "figs_#{Rails.env}",:size => 25,:url => 'redis://localhost:6379/0'} end Sidekiq.configure_client do |config| config.redis = {:namespace => "figs_#{Rails.env}",:url => 'redis://localhost:6379/0'} end
我很好奇这个configure_server和configure_client在这里意味着什么?
config.redis = {:namespace => "figs_#{Rails.env}",:url => 'redis://localhost:6379/0'}
显然是redis的位置,队列类型等.