Fix Paperclip timeout setting. Fix bug introduced in #437
This commit is contained in:
1 parent
38bc85e695
commit
2e71bb031b
2 files changed
+5
-3
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user