在SideKiq的機制的文檔說什麼是服務器和客戶端術語在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}", :size => 25, :url => 'redis://localhost:6379/0'}
end
我很好奇這是什麼configure_server和configure_client這裏的意思?
config.redis = {:namespace => "figs_#{Rails.env}", :size => 25, :url => 'redis://localhost:6379/0'}
顯然是redis的的位置,隊列類型等