diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-08-19 12:25:52 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-08-19 12:25:52 +0200 |
commit | 2bd0ed4a5cb70884f1a31a54fc67c4bc86fa3340 (patch) | |
tree | c44689e009c11ab63398d0752dcc1c73ed230415 /lib | |
parent | ac73de508e21af95b473bfafc2ca2543b234430d (diff) | |
download | gitlab-ce-2bd0ed4a5cb70884f1a31a54fc67c4bc86fa3340.tar.gz |
Fix typo in gitlab-workhorse header
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/middleware/rails_queue_duration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/middleware/rails_queue_duration.rb b/lib/gitlab/middleware/rails_queue_duration.rb index 56608b1b276..5d2d7d0026c 100644 --- a/lib/gitlab/middleware/rails_queue_duration.rb +++ b/lib/gitlab/middleware/rails_queue_duration.rb @@ -11,7 +11,7 @@ module Gitlab def call(env) trans = Gitlab::Metrics.current_transaction - proxy_start = env['HTTP_GITLAB_WORHORSE_PROXY_START'].presence + proxy_start = env['HTTP_GITLAB_WORKHORSE_PROXY_START'].presence if trans && proxy_start # Time in milliseconds since gitlab-workhorse started the request trans.set(:rails_queue_duration, Time.now.to_f * 1_000 - proxy_start.to_f / 1_000_000) |