Method: EventMachine::Connection#pending_connect_timeout

Defined in:
lib/em/connection.rb

#pending_connect_timeoutFloat

The duration after which a TCP connection in the connecting state will fail. It is important to distinguish this value from #comm_inactivity_timeout, which looks at how long since data was passed on an already established connection. The value is a float in seconds.

Returns:

  • (Float)

    The duration after which a TCP connection in the connecting state will fail, in seconds.



668
669
670
# File 'lib/em/connection.rb', line 668

def pending_connect_timeout
  EventMachine::get_pending_connect_timeout @signature
end