mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-26 07:44:23 +00:00
Add timeouts for S3 (#9842)
This commit is contained in:
parent
69f782b54d
commit
4699cf853c
|
@ -36,6 +36,9 @@ 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_read_timeout: 5,
|
||||||
|
http_idle_timeout: 5,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue