From ea1bbb5b229e449c7be0c55abbd5c3d98cbd97ef Mon Sep 17 00:00:00 2001 From: Shlee Date: Sun, 9 Jun 2024 18:45:46 +0930 Subject: [PATCH] Update paperclip.rb --- config/initializers/paperclip.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index 2ad68019ba..1d81e9e3cd 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -65,8 +65,8 @@ if ENV['S3_ENABLED'] == 'true' s3_options: { signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' }, - http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '20' }.to_i, - http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '20' }.to_i, + http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '15' }.to_i, + http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '60' }.to_i, http_idle_timeout: 5, retry_limit: ENV.fetch('S3_RETRY_LIMIT') { '1' }.to_i, }