Skip to content
代码片段 群组 项目
提交 57a35133 编辑于 作者: Aleksei Lipniagov's avatar Aleksei Lipniagov
浏览文件

Utilize load balancing for BuildQueueWorker

Update BuildQueueWorker to utilize readonly database replicas.

Changelog: performance
上级 449a63ad
No related branches found
No related tags found
无相关合并请求
......@@ -10,7 +10,7 @@ class BuildQueueWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :continuous_integration
urgency :high
worker_resource_boundary :cpu
data_consistency :sticky, feature_flag: :load_balancing_for_build_queue_worker
data_consistency :sticky
# rubocop: disable CodeReuse/ActiveRecord
def perform(build_id)
......
---
name: load_balancing_for_build_queue_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63212
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/332586
milestone: '14.0'
type: development
group: group::memory
default_enabled: false
......@@ -26,6 +26,5 @@
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_build_queue_worker,
data_consistency: :sticky
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册