lib/new_relic/agent/agent.rb in newrelic_rpm-3.5.4.33 vs lib/new_relic/agent/agent.rb in newrelic_rpm-3.5.4.34
- old
+ new
@@ -594,10 +594,10 @@
# Try to launch the worker thread and connect to the server.
#
# See #connect for a description of connection_options.
def start_worker_thread(connection_options = {})
log.debug "Creating Ruby Agent worker thread."
- @worker_thread = NewRelic::Agent::Thread.new('Worker Loop') do
+ @worker_thread = NewRelic::Agent::AgentThread.new('Worker Loop') do
deferred_work!(connection_options)
end
end
# A shorthand for NewRelic::Control.instance