mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-24 21:45:06 +01:00
add S3_OPEN_TIMEOUT environment variable (#12459)
This commit is contained in:
parent
e598ce0bd9
commit
f1ef777d40
@ -42,7 +42,7 @@ if ENV['S3_ENABLED'] == 'true'
|
|||||||
|
|
||||||
s3_options: {
|
s3_options: {
|
||||||
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
|
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
|
||||||
http_open_timeout: 5,
|
http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT'){ '5' }.to_i,
|
||||||
http_read_timeout: 5,
|
http_read_timeout: 5,
|
||||||
http_idle_timeout: 5,
|
http_idle_timeout: 5,
|
||||||
retry_limit: 0,
|
retry_limit: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user