Skip to content
代码片段 群组 项目
未验证 提交 1c2ca9c7 编辑于 作者: Carla Drago's avatar Carla Drago 提交者: GitLab
浏览文件

Merge branch 'auto_devops--auto-devops--disable-worker' into 'master'

Change data consistency for workers maintained by auto_devops

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170348



Merged-by: default avatarCarla Drago <cdrago@gitlab.com>
Approved-by: default avatarTiger Watson <twatson@gitlab.com>
Approved-by: default avatarCarla Drago <cdrago@gitlab.com>
Co-authored-by: default avatarLeonardo Rosa <ldarosa@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -5,7 +5,6 @@ SidekiqLoadBalancing/WorkerDataConsistency: ...@@ -5,7 +5,6 @@ SidekiqLoadBalancing/WorkerDataConsistency:
- 'app/workers/authorized_project_update/project_recalculate_worker.rb' - 'app/workers/authorized_project_update/project_recalculate_worker.rb'
- 'app/workers/authorized_project_update/user_refresh_from_replica_worker.rb' - 'app/workers/authorized_project_update/user_refresh_from_replica_worker.rb'
- 'app/workers/authorized_projects_worker.rb' - 'app/workers/authorized_projects_worker.rb'
- 'app/workers/auto_devops/disable_worker.rb'
- 'app/workers/bulk_import_worker.rb' - 'app/workers/bulk_import_worker.rb'
- 'app/workers/bulk_imports/entity_worker.rb' - 'app/workers/bulk_imports/entity_worker.rb'
- 'app/workers/bulk_imports/export_request_worker.rb' - 'app/workers/bulk_imports/export_request_worker.rb'
......
...@@ -4,7 +4,7 @@ module AutoDevops ...@@ -4,7 +4,7 @@ module AutoDevops
class DisableWorker # rubocop:disable Scalability/IdempotentWorker class DisableWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
data_consistency :always data_consistency :sticky
sidekiq_options retry: 3 sidekiq_options retry: 3
include AutoDevopsQueue include AutoDevopsQueue
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册