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

Compare commits

...

6 commits

Author SHA1 Message Date
Shlee
96c5302d02
Merge 70e54bbac4 into 549ab089ee 2024-07-31 11:06:49 +00:00
Shlee
70e54bbac4
Update paperclip.rb 2024-06-19 01:53:13 +09:30
Shlee
73e983ff66
Update paperclip.rb 2024-06-11 13:45:58 +09:30
Shlee
ea1bbb5b22
Update paperclip.rb 2024-06-09 18:45:46 +09:30
Shlee
dbc728d94c
Update paperclip.rb 2024-06-08 16:37:33 +09:30
Shlee
aa6412af20
Increase paperclip S3 timeouts 2024-06-08 16:35:24 +09:30

View file

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