Fix Paperclip timeout setting. Fix bug introduced in #437
This commit is contained in:
parent
38bc85e695
commit
2e71bb031b
2 changed files with 5 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue