Sha256: f45b980e89c8607421cecb026adb7b53eb7609f65f1104a5561df2541764b9fb

Contents?: true

Size: 222 Bytes

Versions: 2

Compression:

Stored size: 222 Bytes

Contents

module Sidekiq
  module Middleware
    module Client
      class ResqueWebCompatibility

        def call(item, queue)
          Sidekiq.redis.sadd('queues', queue)
          yield
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-0.8.0 lib/sidekiq/middleware/client/resque_web_compatibility.rb
sidekiq-0.7.0 lib/sidekiq/middleware/client/resque_web_compatibility.rb