Sha256: e73a9faa2f38493d54226a5ebe423c2c23a6430659864e7a9828d941fb57ac9d

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

module Dynamoid
  module Config
    module BackoffStrategies
      class ConstantBackoff
        def self.call(n = 1)
          -> { sleep n }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynamoid-2.2.0 lib/dynamoid/config/backoff_strategies/constant_backoff.rb
dynamoid-2.1.0 lib/dynamoid/config/backoff_strategies/constant_backoff.rb