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
a1a78072
Commit
a1a78072
authored
May 14, 2021
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sidekiq replicas for PipelineProcessWorker via FF
parent
bc91b705
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
app/workers/pipeline_process_worker.rb
app/workers/pipeline_process_worker.rb
+1
-0
config/feature_flags/development/load_balancing_for_pipeline_process_worker.yml
...evelopment/load_balancing_for_pipeline_process_worker.yml
+8
-0
spec/workers/pipeline_process_worker_spec.rb
spec/workers/pipeline_process_worker_spec.rb
+5
-0
No files found.
app/workers/pipeline_process_worker.rb
View file @
a1a78072
...
@@ -10,6 +10,7 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker
...
@@ -10,6 +10,7 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker
feature_category
:continuous_integration
feature_category
:continuous_integration
urgency
:high
urgency
:high
loggable_arguments
1
loggable_arguments
1
data_consistency
:delayed
,
feature_flag: :load_balancing_for_pipeline_process_worker
# rubocop: disable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
# `_build_ids` is deprecated and will be removed in 14.0
# `_build_ids` is deprecated and will be removed in 14.0
...
...
config/feature_flags/development/load_balancing_for_pipeline_process_worker.yml
0 → 100644
View file @
a1a78072
---
name
:
load_balancing_for_pipeline_process_worker
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61766
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/330960
milestone
:
'
13.12'
type
:
development
group
:
group::continuous integration
default_enabled
:
false
spec/workers/pipeline_process_worker_spec.rb
View file @
a1a78072
...
@@ -20,5 +20,10 @@ RSpec.describe PipelineProcessWorker do
...
@@ -20,5 +20,10 @@ RSpec.describe PipelineProcessWorker do
.
not_to
raise_error
.
not_to
raise_error
end
end
end
end
it_behaves_like
'worker with data consistency'
,
described_class
,
feature_flag: :load_balancing_for_pipeline_process_worker
,
data_consistency: :delayed
end
end
end
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