Sha256: a6e92f0ffe88a41289c7fff328f152d83f540e6bf3d883c3336ba8c81c0c6dc7

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

module DistributeReads
  module JobMethods
    def distribute_reads(max_lag: nil)
      around_perform do |job, block|
        distribute_reads(max_lag: max_lag) { block.call }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
distribute_reads-0.1.2 lib/distribute_reads/job_methods.rb