Sha256: eb2d9d890feea924976520707f2df59d9563b28b9dc115cc2f10787ac4dd8dd1

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

require "sidekiq/lock/version"
require "sidekiq/lock/worker"
require "sidekiq/lock/middleware"
require "sidekiq/lock/redis_lock"

module Sidekiq
  module Lock
    THREAD_KEY = :sidekiq_lock
  end
end

Sidekiq.configure_server do |config|
  config.server_middleware do |chain|
    chain.add Sidekiq::Lock::Middleware
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-lock-0.0.1 lib/sidekiq/lock.rb