Unverified Commit 9dd2f46b authored by Sean McGivern's avatar Sean McGivern
Browse files

Exclude archived projects from mirror queries

parent 415668fd
......@@ -12,6 +12,7 @@ module GitLab
class RowCountCollector < Base
projects.mirror = true
AND projects.archived = false
AND project_mirror_data.retry_count <= 14
AND (projects.visibility_level = 20 OR plans.name IN ('early_adopter', 'bronze', 'silver', 'gold'))
Supports Markdown
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