Unicorn + Rails + Large Uploads

后端 未结 2 1122
慢半拍i
慢半拍i 2021-02-08 04:38

I\'m trying to allow for large uploads when running Unicorn on Heroku with Rails but I\'ve realised that any large uploads might take longer than the timeout period for a Unicor

2条回答
  •  耶瑟儿~
    2021-02-08 05:13

    If you're uploading to S3, then you can "simply" have the user upload files direct to S3 instead of via your dynos, and get pinged when the upload is complete.

    For significantly more information than this, check out something like CarrierWaveDirect

提交回复
热议问题