summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-06-15 12:50:45 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-06-27 09:39:05 +0200
commite7d12a70d283b766cbcd4f417c293f34df10de3b (patch)
treea577fe25f2faee5486cdb86ad3878f618dc6b726 /spec
parent6f5a68f528d6c11f3bfd013e30cc71845abe6ef8 (diff)
downloadgitlab-ce-e7d12a70d283b766cbcd4f417c293f34df10de3b.tar.gz
Add in_review_folder to usage pingzj-review-apps-usage-data
As its hard to reliably check how many review apps there are on the clients machine, we start by checking where the type is `review`. This means the folder is called that way. This will lead to a seq scan on the table. However, this is done once a week, so the benefit of adding an index seems not to apply here.
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/usage_data_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb
index b47e1b56fa9..3c7c7562b46 100644
--- a/spec/lib/gitlab/usage_data_spec.rb
+++ b/spec/lib/gitlab/usage_data_spec.rb
@@ -37,6 +37,7 @@ describe Gitlab::UsageData do
deploy_keys
deployments
environments
+ in_review_folder
groups
issues
keys