Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
60b9611e
Commit
60b9611e
authored
Mar 17, 2021
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not stick runner to primary database after tick
parent
30148d63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
config/feature_flags/development/ci_runner_builds_queue_on_replicas.yml
..._flags/development/ci_runner_builds_queue_on_replicas.yml
+8
-0
ee/app/models/ee/ci/runner.rb
ee/app/models/ee/ci/runner.rb
+3
-1
No files found.
config/feature_flags/development/ci_runner_builds_queue_on_replicas.yml
0 → 100644
View file @
60b9611e
---
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
ee/app/models/ee/ci/runner.rb
View file @
60b9611e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment