class Rightscale::FlexiscaleConnectionHandler

Simple connection errors handler

Constants

HTTP_CONNECTION_RETRY_COUNT

Number of times to retry the request after encountering the first error

HTTP_CONNECTION_RETRY_DELAY

Length of the post-error probationary period during which all requests will fail

Public Class Methods

params() click to toggle source

Params accessor:

Rightscale::FlexiscaleConnectionHandler.params[:http_connection_retry_count] = 5
Rightscale::FlexiscaleConnectionHandler.params[:retriable_errors] << 'MyAwesomeExceptionClassName'
# File lib/api/right_flexiscale_api.rb, line 64
def self.params
  @@params
end