aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-22 16:18:22 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-22 16:18:22 -0600
commit2d0c703c922758dc36df8a20a56894484013b0f1 (patch)
tree6daceec54de9a679f22e0fc5bd212968ecb916d6 /actionpack/lib/action_controller/metal
parentdf7faef68e833efeef0dca3e07e0355f5042bb36 (diff)
downloadrails-2d0c703c922758dc36df8a20a56894484013b0f1.tar.gz
rails-2d0c703c922758dc36df8a20a56894484013b0f1.tar.bz2
rails-2d0c703c922758dc36df8a20a56894484013b0f1.zip
Use Rack::Runtime middleware so the reported time includes the entire middleware stack
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r--actionpack/lib/action_controller/metal/benchmarking.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/benchmarking.rb b/actionpack/lib/action_controller/metal/benchmarking.rb
index e58df69172..f73f635b0d 100644
--- a/actionpack/lib/action_controller/metal/benchmarking.rb
+++ b/actionpack/lib/action_controller/metal/benchmarking.rb
@@ -53,7 +53,6 @@ module ActionController #:nodoc:
log_message << " [#{complete_request_uri rescue "unknown"}]"
logger.info(log_message)
- response.headers["X-Runtime"] = "%.0f" % ms
else
super
end