summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-12-12 22:30:27 +0100
committerPawel Chojnacki <pawel@chojnacki.ws>2017-12-12 23:45:32 +0100
commit51668d3e1faa448ceecf5457db552c89314c9dbe (patch)
treeaaa70c416f6665e125b2e32d3ad4d3c6e6fa4d44 /lib
parentda19ce625ba8a0db9921fd85e331e70b14a5625b (diff)
downloadgitlab-ce-51668d3e1faa448ceecf5457db552c89314c9dbe.tar.gz
Use class variable and add rubocop exceptionpawel/cache_feature_check_for_5_minutes_for_method_call
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/metrics/method_call.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/metrics/method_call.rb b/lib/gitlab/metrics/method_call.rb
index c58e54916e6..9112164f22e 100644
--- a/lib/gitlab/metrics/method_call.rb
+++ b/lib/gitlab/metrics/method_call.rb
@@ -1,3 +1,5 @@
+# rubocop:disable Style/ClassVars
+
module Gitlab
module Metrics
# Class for tracking timing information about method calls