1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Update paperclip.rb

This commit is contained in:
Shlee 2024-06-11 13:45:58 +09:30 committed by GitHub
parent ea1bbb5b22
commit 73e983ff66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,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: ENV.fetch('S3_OPEN_TIMEOUT') { '15' }.to_i, http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '15' }.to_i,
http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '60' }.to_i, http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '30' }.to_i,
http_idle_timeout: 5, http_idle_timeout: 5,
retry_limit: ENV.fetch('S3_RETRY_LIMIT') { '1' }.to_i, retry_limit: ENV.fetch('S3_RETRY_LIMIT') { '1' }.to_i,
} }