Sha256: ab4d47cd4b6fbd436c3e0c03094b1d273776cfd586afb44cb0f47bc0b5b06dd4
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
module Sidekiq class Queue extend LimitFetch::Singleton, Forwardable def_delegators :lock, :limit, :limit=, :acquire, :release, :pause, :unpause, :block, :unblock, :paused?, :blocking?, :unblocked, :block_except, :busy def lock @lock ||= mode::Semaphore.new name end def mode Sidekiq.options[:global] ? LimitFetch::Global : LimitFetch::Local end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-limit_fetch-1.4 | lib/sidekiq/extensions/queue.rb |
sidekiq-limit_fetch-1.3 | lib/sidekiq/extensions/queue.rb |
sidekiq-limit_fetch-1.2 | lib/sidekiq/extensions/queue.rb |