Class: Dynamoid::Config::BackoffStrategies::ConstantBackoff

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamoid/config/backoff_strategies/constant_backoff.rb

Class Method Summary collapse

Class Method Details

.call(sec = 1) ⇒ Object


8
9
10
# File 'lib/dynamoid/config/backoff_strategies/constant_backoff.rb', line 8

def self.call(sec = 1)
  -> { sleep sec }
end