Method: Dalli::Protocol::ConnectionManager#establish_connection
- Defined in:
- lib/dalli/protocol/connection_manager.rb
#establish_connection ⇒ Object
50 51 52 53 54 55 56 57 58 |
# File 'lib/dalli/protocol/connection_manager.rb', line 50 def establish_connection Dalli.logger.debug { "Dalli::Server#connect #{name}" } @sock = memcached_socket @pid = Process.pid rescue SystemCallError, Timeout::Error, EOFError, SocketError => e # SocketError = DNS resolution failure error_on_request!(e) end |