diff options
Diffstat (limited to 'app/workers/ci/parse_secure_file_metadata_worker.rb')
-rw-r--r-- | app/workers/ci/parse_secure_file_metadata_worker.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/workers/ci/parse_secure_file_metadata_worker.rb b/app/workers/ci/parse_secure_file_metadata_worker.rb new file mode 100644 index 00000000000..0d2495d3155 --- /dev/null +++ b/app/workers/ci/parse_secure_file_metadata_worker.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Ci + class ParseSecureFileMetadataWorker + include ::ApplicationWorker + + feature_category :mobile_signing_deployment + urgency :low + idempotent! + + def perform(secure_file_id) + ::Ci::SecureFile.find_by_id(secure_file_id).try(&:update_metadata!) + end + end +end |