lib/dynamoid/config/backoff_strategies/constant_backoff.rb in dynamoid-3.5.0 vs lib/dynamoid/config/backoff_strategies/constant_backoff.rb in dynamoid-3.6.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Dynamoid
module Config
+ # @private
module BackoffStrategies
class ConstantBackoff
def self.call(sec = 1)
-> { sleep sec }
end