From f39c791bbdbb994b70baf20d9cf822f1ecf187cf Mon Sep 17 00:00:00 2001 From: Dalite Fur Date: Thu, 9 Nov 2023 21:55:34 +0100 Subject: [PATCH] s3 retries --- 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 a44c2ab84..d3b244038 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -64,7 +64,7 @@ if ENV['S3_ENABLED'] == 'true' http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '5' }.to_i, http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '5' }.to_i, http_idle_timeout: 5, - retry_limit: 0, + retry_limit: 3, } )