Sha256: 1170db14d811f210609eb364485b2c3496e0d2af7cb8b9ded3487c1183d0aa34

Contents?: true

Size: 619 Bytes

Versions: 5

Compression:

Stored size: 619 Bytes

Contents

require 'sidekiq'

Sidekiq.configure_server do |config|
  config.server_middleware do |chain|
    require 'sidekiq_unique_jobs/middleware/server/unique_jobs'
    chain.add SidekiqUniqueJobs::Middleware::Server::UniqueJobs
  end
  config.client_middleware do |chain|
    require 'sidekiq_unique_jobs/middleware/client/unique_jobs'
    chain.add SidekiqUniqueJobs::Middleware::Client::UniqueJobs
  end

end

Sidekiq.configure_client do |config|
  config.client_middleware do |chain|
    require 'sidekiq_unique_jobs/middleware/client/unique_jobs'
    chain.add SidekiqUniqueJobs::Middleware::Client::UniqueJobs
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.10 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.9 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.8 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.7 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.5 lib/sidekiq_unique_jobs/middleware.rb