1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/config/initializers/sidekiq.rb

13 lines
259 B
Ruby

Sidekiq.configure_client do |config|
config.redis = { :size => 2, :namespace => 'foo' }
end
Sidekiq.configure_server do |config|
config.redis = { :size => 25, :namespace => 'foo' }
end
class EmptyWorker
include Sidekiq::Worker
def perform
end
end