ualbertalib / avalon

University of Alberta's Media Repository based on Avalon
Apache License 2.0
2 stars 2 forks source link

fix timeout for large ">13GB" files #651

Closed jefferya closed 4 years ago

jefferya commented 4 years ago

Addresses #650

When batch ingesting large files, (e.g., 13GB), the UI reports a "Timed out" error. This PR allows lengthening the timeout beyond the default. The timeout is a rest_client call (activeencode and rubyhorn Gems) that queues a job with the transcoding service (Matterhorn). The gems don't seem to support setting the timeout as a option that will flow from Avalon, through, activeencode and rubyhorn Gems to the rest_client. Mitigating factor, the problem disappears in Avalon v7.1 (we are on v6.5).