summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2018-01-22 20:53:02 +0100
committerPawel Chojnacki <pawel@chojnacki.ws>2018-01-29 15:13:05 +0100
commit75b49298f70edfd5367e40d06c28e8a3e4688564 (patch)
tree7000b22ac1639908ae23c2619491ba807cd013c9
parentffac08d290bfcc7459a1c9e58c44efc8c7be6a0e (diff)
downloadgitlab-ce-75b49298f70edfd5367e40d06c28e8a3e4688564.tar.gz
remove unused (?) variables
-rw-r--r--lib/gitlab/metrics/influx_db.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/metrics/influx_db.rb b/lib/gitlab/metrics/influx_db.rb
index e640ddbc716..d64a60245db 100644
--- a/lib/gitlab/metrics/influx_db.rb
+++ b/lib/gitlab/metrics/influx_db.rb
@@ -5,9 +5,6 @@ module Gitlab
include Gitlab::Metrics::Concern
EXECUTION_MEASUREMENT_BUCKETS = [0.001, 0.01, 0.1, 1].freeze
- RAILS_ROOT = Rails.root.to_s
- METRICS_ROOT = Rails.root.join('lib', 'gitlab', 'metrics').to_s
- PATH_REGEX = /^#{RAILS_ROOT}\/?/
MUTEX = Mutex.new
private_constant :MUTEX