method

max_retries=

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Net::HTTP
max_retries=(retries) public

Maximum number of times to retry an idempotent request in case of Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError, Timeout::Error. Should be a non-negative integer number. Zero means no retries. The default value is 1.

Show source
Register or log in to add new notes.