mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
Make S3's retry limit a ENV variable (#23215)
This commit is contained in:
parent
9e9613b286
commit
773283ffb9
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ if ENV['S3_ENABLED'] == 'true'
|
||||||
http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '5' }.to_i,
|
http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '5' }.to_i,
|
||||||
http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '5' }.to_i,
|
http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '5' }.to_i,
|
||||||
http_idle_timeout: 5,
|
http_idle_timeout: 5,
|
||||||
retry_limit: 0,
|
retry_limit: ENV.fetch('S3_RETRY_LIMIT'){ '0' }.to_i,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue