Skip to content

Commit

Permalink
Merge pull request #1504 from alphagov/alias-new-workers
Browse files Browse the repository at this point in the history
Add aliases for renamed Sidekiq jobs
  • Loading branch information
brucebolt authored Sep 25, 2024
2 parents 405f8e3 + 59ff3d8 commit a7aafa4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/sidekiq/delete_asset_file_from_nfs_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ def perform(asset_id)
end
end
end

DeleteAssetFileFromNfsWorker = DeleteAssetFileFromNfsJob
2 changes: 2 additions & 0 deletions app/sidekiq/save_to_cloud_storage_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ def perform(asset_id)
end
end
end

SaveToCloudStorageWorker = SaveToCloudStorageJob
2 changes: 2 additions & 0 deletions app/sidekiq/virus_scan_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ def perform(asset_id)
end
end
end

VirusScanWorker = VirusScanJob

0 comments on commit a7aafa4

Please sign in to comment.