AWS MediaConvert has rate limits that are easy to run up against when using ActiveEncode. These are mostly harmless – they just raise Aws::MediaConvert::Errors::TooManyRequestsException and the job goes back in the queue. This PR uses the retriable gem (already in use within the Avalon/Hyrax/Samvera ecosystem as a second-tier dependency) to retry MediaConvert requests three times with exponential backoff and random jitter.
AWS MediaConvert has rate limits that are easy to run up against when using ActiveEncode. These are mostly harmless – they just raise
Aws::MediaConvert::Errors::TooManyRequestsException
and the job goes back in the queue. This PR uses theretriable
gem (already in use within the Avalon/Hyrax/Samvera ecosystem as a second-tier dependency) to retry MediaConvert requests three times with exponential backoff and random jitter.