vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/new_relic_service.rb
# Specifies the version of the agent's communication protocol with
# the NewRelic hosted site.
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .
def establish_shared_connection
        unless @shared_tcp_connection
          connection = create_http_connection
          NewRelic::Agent.logger.debug("Opening shared TCP connection to #{connection.address}:#{connection.port}")
          NewRelic::TimerLib.timeout(@request_timeout) { connection.start }
          @shared_tcp_connection = connection
        end
        @shared_tcp_connection
      end
def establish_shared_connection unless @shared_tcp_connection connection = create_http_connection NewRelic :: Agent . logger . debug ( "Opening shared TCP connection to #{connection.address}:#{connection.port}" ) NewRelic :: TimerLib . timeout ( @request_timeout ) { connection . start } @shared_tcp_connection = connection end @shared_tcp_connection end
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .