Module ActiveUtils::NetworkConnectionRetries
In: lib/active_utils/network_connection_retries.rb

Methods

Constants

DEFAULT_RETRIES = 3
DEFAULT_CONNECTION_ERRORS = { EOFError => "The remote server dropped the connection", Errno::ECONNRESET => "The remote server reset the connection", Timeout::Error => "The connection to the remote server timed out", Errno::ETIMEDOUT => "The connection to the remote server timed out", SocketError => "The connection to the remote server could not be established", OpenSSL::SSL::SSLError => "The SSL connection to the remote server could not be established"
DEFAULT_RETRY_ERRORS = { Errno::ECONNREFUSED => "The remote server refused the connection"

Public Class methods

Public Instance methods

[Validate]