Sha256: d1c24badd98df8df41a85123f318e211572e497017d539d96f971735ee096fe8

Contents?: true

Size: 465 Bytes

Versions: 4

Compression:

Stored size: 465 Bytes

Contents

module Cacheflow
  module Sidekiq
    module ClassMethods
      def redis(*_)
        Cacheflow.silence do
          super
        end
      end
    end

    module Client
      module InstanceMethods
        def push(*_)
          Cacheflow.silence do
            super
          end
        end
      end
    end
  end
end

::Sidekiq.singleton_class.prepend(Cacheflow::Sidekiq::ClassMethods)
::Sidekiq::Client.prepend(Cacheflow::Sidekiq::Client::InstanceMethods)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cacheflow-0.4.0 lib/cacheflow/sidekiq.rb
cacheflow-0.3.3 lib/cacheflow/sidekiq.rb
cacheflow-0.3.2 lib/cacheflow/sidekiq.rb
cacheflow-0.3.1 lib/cacheflow/sidekiq.rb