Sha256: 323daa9764b6f8dcf083ba8d0c588a5d6e98db86c4232e3b333c566f52804ab6

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 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

4 entries across 4 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.14 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.13 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.12 lib/sidekiq_unique_jobs/middleware.rb
sidekiq-unique-jobs-3.0.11 lib/sidekiq_unique_jobs/middleware.rb