Created
January 23, 2026 12:38
-
-
Save danielmfern/d359903af3dbbd3056872a0f04b8919c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # retry failed F1 files (Amanda Side) | |
| Current.account = Account.find 9 | |
| Current.user = User.first | |
| processing_remote_ids = Dam::Blob.where(created_by_id: 1, status: :failed).where('filename like ?', '%f1.jpg').pluck(:processing_remote_id) | |
| processing_remote_id.each do |id| | |
| shot_id, shot_image_id = id.split('.').map(&:to_i) | |
| Dam::CreateDamBlobJob.perform_async(shot_id, shot_image_id) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment