0
0
Fork 0

Fix Paperclip timeout setting. Fix bug introduced in #437

This commit is contained in:
Eugen Rochko 2017-01-08 19:12:54 +01:00
parent 38bc85e695
commit 2e71bb031b
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
Paperclip::Attachment.default_options[:read_timeout] = 60
Paperclip.options[:read_timeout] = 60
if ENV['S3_ENABLED'] == 'true'
Aws.eager_autoload!(services: %w(S3))