Revert "also support X-Request-Start"

This reverts commit 63b4ac3338.
This commit is contained in:
Konstantin Haase 2013-07-11 18:28:44 +02:00
parent 63b4ac3338
commit 40acdfba4f

View File

@ -11,7 +11,7 @@ class Travis::Api::App
end
after do
if queue_start = time(env['HTTP_X_QUEUE_START']) || time(env['HTTP_X_REQUEST_START'])
if queue_start = time(env['HTTP_X_QUEUE_START'])
time = env['metriks.request.start'] - queue_start
::Metriks.timer('api.request_queue').update(time)
end