summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-03-15 16:24:45 -0500
committerRémy Coutable <remy@rymai.me>2017-04-14 15:20:55 +0200
commitf41b693fc713ae1c212b2118b0fc2d67c519f4c6 (patch)
treec9e1ef24cf7aeb3d066e88af064f229dd62d43ac /lib
parent0483019e9800dc1b4ef4493890f815f047b7c04e (diff)
downloadgitlab-ce-f41b693fc713ae1c212b2118b0fc2d67c519f4c6.tar.gz
Remove pushes count from usage ping payload
This query is constantly generating timeout errors on large installations and we don't have a simple solution for now and also we don't think having this counter is really critical.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/usage_data.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index 234d8680545..e5c1407d8fe 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -32,7 +32,6 @@ module Gitlab
merge_requests: MergeRequest.count,
milestones: Milestone.count,
notes: Note.count,
- pushes: Event.code_push.count,
pages_domains: PagesDomain.count,
projects: Project.count,
protected_branches: ProtectedBranch.count,