mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Increase paperclip S3 timeouts
This commit is contained in:
parent
521b433933
commit
aa6412af20
1 changed files with 4 additions and 4 deletions
|
@ -65,10 +65,10 @@ if ENV['S3_ENABLED'] == 'true'
|
|||
|
||||
s3_options: {
|
||||
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
|
||||
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: ENV.fetch('S3_RETRY_LIMIT') { '0' }.to_i,
|
||||
http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '20' }.to_i,
|
||||
http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '20' }.to_i,
|
||||
http_idle_timeout: 20,
|
||||
retry_limit: ENV.fetch('S3_RETRY_LIMIT') { '1' }.to_i,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue