Sha256: 616b407fc2491081fed2d2e8d374333b46d704d8cb8fec78fc4b9858f7edcb8c
Contents?: true
Size: 749 Bytes
Versions: 65
Compression:
Stored size: 749 Bytes
Contents
module Aws module DynamoDB module Plugins class ExtendedRetries < Seahorse::Client::Plugin option(:retry_limit, default: 10, required: false, doc_type: Integer, docstring: <<-DOCS) 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. DOCS option(:retry_backoff, default: lambda { |context| if context.retries > 1 Kernel.sleep(50 * (2 ** (context.retries - 1)) / 1000.0) end }) end end end end
Version data entries
65 entries across 65 versions & 1 rubygems