diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-18 01:36:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 01:36:59 +0100 |
commit | 4699cf853c8533cfca1f356d6c9e430c16b75335 (patch) | |
tree | 41d57610c420b67d6e67643b1ba82296dbf88d62 /config/initializers | |
parent | 69f782b54d035789a6386ed979940dd9719af1a1 (diff) |
Add timeouts for S3 (#9842)
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/paperclip.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index 4bbf8b827..ce4185e02 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -36,6 +36,9 @@ if ENV['S3_ENABLED'] == 'true' }, s3_options: { signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' }, + http_open_timeout: 5, + http_read_timeout: 5, + http_idle_timeout: 5, } ) |