diff options
Diffstat (limited to 'app/workers/create_commit_signature_worker.rb')
-rw-r--r-- | app/workers/create_commit_signature_worker.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/workers/create_commit_signature_worker.rb b/app/workers/create_commit_signature_worker.rb index 9cbc75f8944..a88d2bf7d15 100644 --- a/app/workers/create_commit_signature_worker.rb +++ b/app/workers/create_commit_signature_worker.rb @@ -1,11 +1,13 @@ # frozen_string_literal: true -class CreateCommitSignatureWorker # rubocop:disable Scalability/IdempotentWorker +class CreateCommitSignatureWorker include ApplicationWorker feature_category :source_code_management weight 2 + idempotent! + # rubocop: disable CodeReuse/ActiveRecord def perform(commit_shas, project_id) # Older versions of Git::BranchPushService may push a single commit ID on |