Make S3's retry limit a ENV variable (#23215)

main-rebase-security-fix
Isa S 2024-06-07 15:54:55 +02:00 committed by GitHub
parent 9e9613b286
commit 773283ffb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,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: ENV.fetch('S3_RETRY_LIMIT'){ '0' }.to_i,
}
)