From dbc728d94c2f8cbdd4f4ce87b11b2b47e8f2b7a0 Mon Sep 17 00:00:00 2001 From: Shlee Date: Sat, 8 Jun 2024 16:37:33 +0930 Subject: [PATCH] Update paperclip.rb --- config/initializers/paperclip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index 5a2b34d623..2ad68019ba 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -67,7 +67,7 @@ if ENV['S3_ENABLED'] == 'true' 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_idle_timeout: 20, + http_idle_timeout: 5, retry_limit: ENV.fetch('S3_RETRY_LIMIT') { '1' }.to_i, } )