Commit ea31787b authored by Max Woolf's avatar Max Woolf

Merge branch...

Merge branch '330682-update-deployments-hooksworker-to-utilize-new-sidekiq-readonly-database-replicas' into 'master'

Update Deployments::HooksWorker to use Sidekiq readonly DB replicas

See merge request gitlab-org/gitlab!67878
parents c62c0a5f ab050d67
......@@ -4,7 +4,7 @@ module Deployments
class HooksWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :delayed, feature_flag: :load_balancing_for_deployments_hooks_worker
queue_namespace :deployment
feature_category :continuous_delivery
......
---
name: load_balancing_for_deployments_hooks_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67878
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/338342
milestone: '14.2'
type: development
group: group::release
default_enabled: false
......@@ -49,5 +49,10 @@ RSpec.describe Deployments::HooksWorker do
worker.perform(deployment_id: deployment.id, status_changed_at: status_changed_at)
end
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_deployments_hooks_worker,
data_consistency: :delayed
end
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