Permalink
Browse files

Fix for mongrel limit enforcement

  • Loading branch information...
1 parent f7fd3cb commit 6e840a9acd9b10f21f5cb26e566773ed5c37475b @bkayser bkayser committed Jun 20, 2008
Showing with 5 additions and 3 deletions.
  1. +3 −3 lib/newrelic/agent/agent.rb
  2. +2 −0 version.txt
@@ -104,8 +104,6 @@ def start(config)
@remote_port = config.fetch('port', default_port)
if config['enabled'] || config['developer']
- instrument_rails
-
if config['enabled']
# make sure the license key exists and is likely to be really a license key
# by checking it's string length (license keys are 40 character strings.)
@@ -186,6 +184,8 @@ def run_worker_loop
return unless should_retry
end
+ instrument_rails
+
# determine the reporting period (server based)
# note if the agent attempts to report more frequently than the specified
# report data, then it will be ignored.
@@ -222,7 +222,7 @@ def connect
log! "Connected to NewRelic Service at #{@remote_host}:#{@remote_port}."
log.debug "Agent ID = #{@agent_id}."
- # Ask the server for permission to send transaction samples. determined by suvbscription license.
+ # Ask the server for permission to send transaction samples. determined by subscription license.
@should_send_samples = invoke_remote :should_collect_samples, @agent_id
@connected = true
View
@@ -1,3 +1,5 @@
+2008-06-20 version 2.2.3
+ * fix for issue when mongrel limit enforcement caused overhead in isolated situations
2008-06-13 version 2.2.2
* bugfixes
2008-06-10 version 2.2.1

0 comments on commit 6e840a9

Please sign in to comment.