Skip to content
Permalink
Browse files

add S3_OPEN_TIMEOUT environment variable (#12459)

  • Loading branch information
tateisu authored and Gargron committed Dec 2, 2019
1 parent e598ce0 commit f1ef777d40235dc922a0b56da9fc00b98827c189
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/initializers/paperclip.rb
@@ -42,7 +42,7 @@

s3_options: {
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
http_open_timeout: 5,
http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT'){ '5' }.to_i,
http_read_timeout: 5,
http_idle_timeout: 5,
retry_limit: 0,

0 comments on commit f1ef777

Please sign in to comment.
You can’t perform that action at this time.