diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /app/workers/jira_connect/sync_deployments_worker.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) | |
download | gitlab-ce-e8d2c2579383897a1dd7f9debd359abe8ae8373d.tar.gz |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'app/workers/jira_connect/sync_deployments_worker.rb')
-rw-r--r-- | app/workers/jira_connect/sync_deployments_worker.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/workers/jira_connect/sync_deployments_worker.rb b/app/workers/jira_connect/sync_deployments_worker.rb index 9f75b1161f0..0dc34b5999f 100644 --- a/app/workers/jira_connect/sync_deployments_worker.rb +++ b/app/workers/jira_connect/sync_deployments_worker.rb @@ -1,18 +1,18 @@ # frozen_string_literal: true module JiraConnect - class SyncDeploymentsWorker + class SyncDeploymentsWorker # rubocop:disable Scalability/IdempotentWorker include ApplicationWorker sidekiq_options retry: 3 - idempotent! - worker_has_external_dependencies! - queue_namespace :jira_connect feature_category :integrations + data_consistency :delayed tags :exclude_from_kubernetes + worker_has_external_dependencies! + def perform(deployment_id, sequence_id) deployment = Deployment.find_by_id(deployment_id) |