Commit f41b693f authored by Ruben Davila's avatar Ruben Davila Committed by Rémy Coutable

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.
parent 0483019e
...@@ -32,7 +32,6 @@ module Gitlab ...@@ -32,7 +32,6 @@ module Gitlab
merge_requests: MergeRequest.count, merge_requests: MergeRequest.count,
milestones: Milestone.count, milestones: Milestone.count,
notes: Note.count, notes: Note.count,
pushes: Event.code_push.count,
pages_domains: PagesDomain.count, pages_domains: PagesDomain.count,
projects: Project.count, projects: Project.count,
protected_branches: ProtectedBranch.count, protected_branches: ProtectedBranch.count,
......
...@@ -41,7 +41,6 @@ describe Gitlab::UsageData do ...@@ -41,7 +41,6 @@ describe Gitlab::UsageData do
milestones milestones
notes notes
projects projects
pushes
pages_domains pages_domains
protected_branches protected_branches
releases releases
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment