Skip to content

Commit 09fd7d4

Browse files
authored
Add timeouts for S3 (mastodon#9842)
1 parent 36da0db commit 09fd7d4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config/initializers/paperclip.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
},
3737
s3_options: {
3838
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
39+
http_open_timeout: 5,
40+
http_read_timeout: 5,
41+
http_idle_timeout: 5,
3942
}
4043
)
4144

0 commit comments

Comments
 (0)