Skip to content
Snippets Groups Projects
Commit 7ddec6e7 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Add read timeout to paperclip when it's downloading remote images

parent 989c3f40
No related branches found
No related tags found
No related merge requests found
# frozen_string_literal: true
Paperclip::Attachment.default_options[:read_timeout] = 60
if ENV['S3_ENABLED'] == 'true'
Aws.eager_autoload!(services: %w(S3))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment