Commit 13664f33 authored by Douwe Maan's avatar Douwe Maan

Fix mirror queries

parent d14894ef
Pipeline #79489 passed with stage
in 15 seconds
PATH
remote: .
specs:
gitlab-monitor (2.11.0)
gitlab-monitor (2.12.0)
connection_pool (~> 2.2.1)
pg (~> 0.18.4)
quantile (~> 0.2.0)
......@@ -21,8 +21,8 @@ GEM
pg (0.18.4)
powerpack (0.1.1)
quantile (0.2.0)
rack (1.6.8)
rack-protection (1.5.3)
rack (1.6.9)
rack-protection (1.5.5)
rack
rainbow (2.1.0)
redis (3.3.5)
......@@ -57,7 +57,7 @@ GEM
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
tilt (2.0.7)
tilt (2.0.8)
unicode-display_width (1.1.0)
PLATFORMS
......
......@@ -12,7 +12,7 @@ module GitLab
WHERE_MIRROR_ENABLED = <<~SQL.freeze
projects.mirror = true
AND project_mirror_data.retry_count <= 14
AND (projects.visibility_level = 20 OR plans.name IN ('early_adopter', 'bronze', 'silver', 'gold'));
AND (projects.visibility_level = 20 OR plans.name IN ('early_adopter', 'bronze', 'silver', 'gold'))
SQL
MIRROR_QUERY = {
......
module GitLab
module Monitor
VERSION = "2.11.0".freeze
VERSION = "2.12.0".freeze
end
end
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