Commit 60b9611e authored by Grzegorz Bizon's avatar Grzegorz Bizon

Do not stick runner to primary database after tick

parent 30148d63
---
name: ci_runner_builds_queue_on_replicas
introduced_by_url:
rollout_issue_url:
milestone: '13.10'
type: development
group: group::continuous integration
default_enabled: false
......@@ -6,7 +6,9 @@ module EE
extend ActiveSupport::Concern
def tick_runner_queue
::Gitlab::Database::LoadBalancing::Sticking.stick(:runner, id)
unless Feature.enabled?(:ci_runner_builds_queue_on_replicas, runner, default_enabled: :yaml)
::Gitlab::Database::LoadBalancing::Sticking.stick(:runner, id)
end
super
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