Commit 3396edce authored by Ruben Davila's avatar Ruben Davila

Remove Services count from usage ping payload.

This query was timing out and is blocking the sync of usage data for
GitLab.com
parent 06b614f9
...@@ -40,7 +40,6 @@ module Gitlab ...@@ -40,7 +40,6 @@ module Gitlab
projects_prometheus_active: PrometheusService.active.count, projects_prometheus_active: PrometheusService.active.count,
protected_branches: ProtectedBranch.count, protected_branches: ProtectedBranch.count,
releases: Release.count, releases: Release.count,
services: Service.where(active: true).count,
snippets: Snippet.count, snippets: Snippet.count,
todos: Todo.count, todos: Todo.count,
uploads: Upload.count, uploads: Upload.count,
......
...@@ -50,7 +50,6 @@ describe Gitlab::UsageData do ...@@ -50,7 +50,6 @@ describe Gitlab::UsageData do
pages_domains pages_domains
protected_branches protected_branches
releases releases
services
snippets snippets
todos todos
uploads uploads
......
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