mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
Make S3's retry limit a ENV variable (#23215)
This commit is contained in:
parent
9e9613b286
commit
773283ffb9
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue