Closed pdpinch closed 1 year ago
The number of videos that get queued seems to be variable. On a subsequent attempt, I uploaded 16 and 7 were queued.
No apparent errors in Sentry, but when I watch in my browser, I see a 504 response from https://video.odl.mit.edu/api/v0/upload_videos/
I think the celery task to stream videos to S3 and start transcoding jobs is not running asynchronously:
# Kick off chained async celery tasks to transfer file to S3, then start a transcode job
task_result = chain(
tasks.stream_to_s3.s(video.id), tasks.transcode_from_s3.si(video.id)
)()
The ()
at the end should probably be replaced with .apply_async()
@collinpreston @mbertrand do you think we can close this?
I think so, it seems to be working well now
Passed testing again today. Closing.
Steps to Reproduce
Expected Behavior
Actual Behavior