Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-05-18 19:49:11 +0300
committerRuben Davila <rdavila84@gmail.com>2017-05-18 19:49:11 +0300
commit3396edcea054f97c41b334b2800760817a47ba0a (patch)
tree146cf97b5ba1ee3e83f762c68ec131d7de409c35 /lib
parent06b614f9fd7a311b9cbc6ad90eecb4cfc5281c78 (diff)
Remove Services count from usage ping payload.
This query was timing out and is blocking the sync of usage data for GitLab.com
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 4382cf7b12f..bcba2e3e1b6 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -40,7 +40,6 @@ module Gitlab
projects_prometheus_active: PrometheusService.active.count,
protected_branches: ProtectedBranch.count,
releases: Release.count,
- services: Service.where(active: true).count,
snippets: Snippet.count,
todos: Todo.count,
uploads: Upload.count,