Sha256: 31938045a2d93370949ce52cbdc8f9a69e3ad6f2994b2e72ecc33056ad8d2ab2
Contents?: true
Size: 683 Bytes
Versions: 1062
Compression:
Stored size: 683 Bytes
Contents
module Aws module Plugins # @seahorse.client.option [Integer] :retry_limit (10) # The maximum number of times to retry failed requests. Only # ~ 500 level server errors and certain ~ 400 level client errors # are retried. Generally, these are throttling errors, data # checksum errors, networking errors, timeout errors and auth # errors from expired credentials. class DynamoDBExtendedRetries < Seahorse::Client::Plugin option(:retry_limit, 10) option(:retry_backoff, lambda { |context| if context.retries > 1 Kernel.sleep(50 * (2 ** (context.retries - 1)) / 1000.0) end }) end end end
Version data entries
1,062 entries across 1,062 versions & 2 rubygems