diff options
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) |